The death toll in the crash of a famous Lisbon streetcar popular with tourists rose to at least 17 on Thursday after two of the 23 injured people died, an emergency services official said.

The dead were all adults, Margarida Castro Martins, head of Lisbon’s Civil Protection Agency, told reporters. She didn't provide their names or nationalities, saying that their families would be informed first.

Another 21 people were injured in Wednesday’s crash, she said. They included Portuguese people as well as two Germans, two Spaniards and one person each from France, Italy, Switzerland, Canada, Morocco, South Korea and Cape Verde, she said.

The range of nationalities reflected how big a draw the renowned streetcar was for tourists who are packing the Portuguese capital during the summer season.

Portugal observed a national day of mourning Thursday after the capital’s worst disaster in recent history.

Though authorities gave no details about those killed, the transport workers' trade union SITRA said that the streetcar's brakeman, André Marques, was among the dead.

The 19th-century streetcar is one of Lisbon’s big tourist attractions and is usually packed with foreigners at this time of year for its short and picturesque trip up and down one of the city’s steep hills.

Teams of pathologists at the National Forensics Institute, reinforced by colleagues from three other Portuguese cities, worked through the night on autopsies, officials said.

The injured were admitted to several hospitals in the Lisbon region.

The streetcar's crumpled wreckage was still on the downtown road where it crashed Thursday, cordoned off by police.

Detectives from Portugal’s judicial police force, which investigates serious incidents, photographed the rails and the wreckage on the deserted road.

Officials declined to speculate on whether a faulty brake or a snapped cable may have caused the derailment.

The yellow-and-white streetcar, known as Elevador da Gloria, was lying on its side on the narrow road that it travels on, its sides and top crumpled.

It crashed into a building where the road bends, leaving parts of the mostly metal vehicle crushed.

The crash occurred at the start of the evening rush hour, around 6 p.m. local time.

Emergency officials said all victims were pulled out of the wreckage in just over two hours.

The streetcar, technically called a funicular, is harnessed by steel cables and can carry more than 40 people, seated and standing. It is also commonly used by Lisbon residents.

The service, inaugurated in 1885, goes up and down a few hundred meters of a hill on a curved, traffic-free road in tandem with one going the opposite way.