World leaders send condolences after crash
Sir Keir Starmer, Pope Leo and Emmanuel Macron are among the figures sending their condolences after the crash.
The British PM has been taking part in a virtual call with Ukraine's allies today and addressed the incident.
A Downing Street spokeswoman said:"The prime minister began by sharing his condolences with Portugal on behalf of the United Kingdom following the tragic crash in Lisbon last night."
Also on the call was Macron, who earlier posted on X:"The French join the Portuguese in mourning following the tragic funicular accident in Lisbon. Our condolences to the bereaved families and our solidarity with Portugal."
With a telegram addressed to the cardinal of Lisbon, Pope Leo offered"heartfelt condolences" to the bereaved families, assuring them of his"spiritual closeness".
In the message, signed by the Vatican's secretary of state on Leo's behalf, the pontiff prayed"for the complete recovery of the injured" and invoked "the strength of Christian hope for all those affected by this disaster".
Ukrainian President Volodymyr Zelenskyy said he was"deeply saddened" by the incident, while Hungary Prime Minister Viktor Orban offered his condolences to those affected by the"devastating derailment".
United Nations head Antonio Guterres said his"full solidarity" was with the people of Lisbon. The EU's foreign policy chief Kaja Kallas said the bloc"stands in solidarity with the people of Portugal in this tragic moment".
Portugal has declared today a national day of mourning.