At least 15 people were killed and 18 injured after the historic Gloria funicular railway in Lisbon, Portugal, derailed and collided with a building on Tuesday. The incident, described as the worst in the city’s recent history, has shaken residents and tourists alike.

The yellow-and-white tram-like funicular, which connects downtown Lisbon to the Bairro Alto neighborhood, was operating when it veered off its track. Footage from the scene showed the vehicle lying on its side, partially crushed, with emergency workers extracting survivors from the wreckage. A child was among the injured, according to reports, though authorities have not yet released details about victims’ nationalities.

Portuguese President Marcelo Rebelo de Sousa condemned the disaster, expressing hope that investigators would quickly determine its cause. The 138-year-old railway, operated by municipal transport company Carris, features two cars linked by a single cable and powered by electric motors. One car remained intact, while passengers in the other were forced to flee through windows during the crash.

Emergency crews worked at the site for over two hours before most departed. The accident has cast a shadow over Lisbon’s tourism industry, which relies heavily on visitors drawn to its historic landmarks. No official cause of the derailment has been announced.