It had been diverted to Philadelphia because of a problem with the landing gear.
American Airlines flight 740 originally took off from PHL just after 7 p.m. Sunday, headed to Madrid.
The flight was then diverted back to Philadelphia and safely landed around 8:45 p.m.
No injuries have been reported.
----------
Send a breaking news alert
Report a correction or typo
Learn more about the 6abc apps