A method for stopping an elevator at the event of a brake failure, comprising: determining , by a safety controller, at least one of a vertical position limit, a speed limit and an acceleration limit for an elevator car based on elevator state information, the elevator state information comprising at least one of the elevator car is being driven, the elevator car is within a predefined distance from a destination floor, the elevator car is in a floor, and an attempt to apply at least one brake has been made; detecting a need to perform braking of the elevator car, the need being due to at least one of the elevator car being within a predefined distance from a destination floor, an exceeding of the vertical position limit, an exceeding of the speed limit and an exceeding of the acceleration limit; disabling power supply to the motor, in response to the detecting of the need to perform braking; attempting to apply the at least one brake for braking movement of the elevator car, in response to the detecting of the need to perform braking; measuring at least one of vertical position, speed and acceleration of the elevator car using at least one first sensor, in response to the attempt to apply the at least one brake and the disabling of the power supply to the motor; determining whether the at least one of vertical position, speed and acceleration of the elevator car exceeds the respective at least one of the vertical position limit, the speed limit and the acceleration limit; and enabling , by the safety controller, power supply to the motor for stopping movement of the elevator car, in response to the exceeding of the respective at least one of the vertical position limit, the speed limit and the acceleration limit. determining , by a safety controller, at least one of a vertical position limit, a speed limit and an acceleration limit for an elevator car based on elevator state information, the elevator state information comprising at least one of the elevator car is being driven, the elevator car is within a predefined distance from a destination floor, the elevator car is in a floor, and an attempt to apply at least one brake has been made; detecting a need to perform braking of the elevator car, the need being due to at least one of the elevator car being within a predefined distance from a destination floor, an exceeding of the vertical position limit, an exceeding of the speed limit and an exceeding of the acceleration limit; disabling power supply to the motor, in response to the detecting of the need to perform braking; attempting to apply the at least one brake for braking movement of the elevator car, in response to the detecting of the need to perform braking; measuring at least one of vertical position, speed and acceleration of the elevator car using at least one first sensor, in response to the attempt to apply the at least one brake and the disabling of the power supply to the motor; determining whether the at least one of vertical position, speed and acceleration of the elevator car exceeds the respective at least one of the vertical position limit, the speed limit and the acceleration limit; and enabling , by the safety controller, power supply to the motor for stopping movement of the elevator car, in response to the exceeding of the respective at least one of the vertical position limit, the speed limit and the acceleration limit. <EOS>