The incident happened at around 2.20pm yesterday lunchtime and no one was injured. Among the passengers were six children and two crew.

Traffic was partially cut off in the area until the tram was put back on the tracks. Passengers were being offered alternative transport on local council vehicles.

The century-old Sintra-Praia das Maças tramline was relaunched in 2011.