South Korea says two veteran pilots were flying the Asiana Airlines jetliner when it crashed while landing at San Francisco's airport, killing two people.

The Ministry of Land, Infrastructure and Transport says four pilots were aboard and rotated in two-person shifts during the flight from Asia.

Officials say more than 300 passengers and crew members were aboard when it slammed into the runway and caught fire. The two dead were found outside the wreckage. Another 182 people were taken to hospitals, many with minor injuries.

San Francisco's fire chief says authorities have accounted for all passengers and crew members who were aboard the jetliner.

The flight originated in Shanghai, China with a stopover in Seoul.

National Transportation Safety Board investigators are on the scene.