Updated

An American Airlines plane with a mechanical problem landed safely Thursday after declaring an emergency and diverting to Los Angeles International Airport.

Flight 564 landed and taxied normally to the gate, where all passengers walked off with their luggage, said Los Angeles Fire Department spokesman Brian Humphrey.

Two passengers asked to be evaluated by paramedics in the terminal for respiratory irritation, Humphrey said. He didn't know what may have caused the irritation.

No passengers were transported to hospitals, Humphrey said.

The pilot declared the emergency while flying from San Jose, California, to Phoenix, according to Federal Aviation Administration spokesman Ian Gregor.

A mechanical problem was reported aboard the plane, which had 137 people aboard, said AA spokesman Ross Feinstein. He did not elaborate. Airline personnel were evaluating the problem.

The airline says all passengers will be rerouted to Phoenix as soon as possible.