Elevators and hoists in some basic mechanical form had existed for centuries before the nineteenth century, used primarily for freight rather than passengers, and carrying a genuine, well-founded risk: if the hoisting rope broke, the platform simply fell, with no mechanism to arrest its descent. This risk made elevators unsuitable for regular passenger use and effectively capped practical building height at whatever number of flights people were willing to climb by stairs — generally four to six stories, beyond which upper floors became progressively less desirable and less valuable, the opposite of the premium upper floors would eventually command once elevators made them the most desirable space in a building.
Elisha Otis, an American mechanic, developed a safety mechanism in 1852 that would automatically engage if the hoisting rope failed, using a spring-loaded mechanism that gripped the guide rails to stop the car's fall. He demonstrated this safety brake dramatically and publicly at New York's 1854 Crystal Palace Exhibition, standing on an elevator platform raised high above the crowd and having an assistant cut the supporting rope with an axe — the platform dropped only a few inches before the safety brake engaged, holding it securely in place. The demonstration, and the safety brake it showcased, gave the elevator the credibility needed for passenger use, and Otis's company (which continued long after his death and remains a major elevator manufacturer today) installed the first commercial passenger elevator using this safety mechanism in a New York department store in 1857. Combined with subsequent developments in steel-frame construction, which provided the structural strength taller buildings required, the safety elevator made the skyscraper practically possible from the 1880s onward.