An Air Canada flight with 128 passengers returned safely to Madrid's airport after reporting an engine issue and a burst tyre on takeoff, which forced it to circle for hours to burn fuel.
Television footage showed the Boeing 767, which had left Adolfo Suarez Madrid-Barajas airport bound for Toronto about four hours earlier, landing safely on Monday and fire engines rushing onto the runway.
"The aircraft has landed without incidents and the mechanics are evaluating its condition to determine the best way to disembark the passengers," airport operator AENA said.
Air Canada officials were not immediately available for comment.
"Pretty scary rough landing, but we made it. Thanks for all the messages and wishes," tweeted one passenger, who had posted images from inside the plane while it was in the air.
Spain's Transport Minister Jose Luis Abalos, who had made his way to the airport in the capital, took to Twitter to congratulate the pilot and crew for their expertise.
Air Canada said in a statement while the plane was airborne that it had to use up fuel before returning to Madrid after an engine issue and reported rupture of one of its 10 tyres.
"The aircraft, a Boeing 767-300, is designed to operate on one engine and our pilots are fully trained for this eventuality," Air Canada said.