A flight bound for Dubai from Bangladesh's capital, Dhaka, made an emergency landing in Chittagong after a man attempted to hijack the plane.
The Bangladeshi suspect asked to speak to the country's prime minister before dying from injuries in an exchange of gunfire with military commandos, officials said.
The flight, operated by state-run Biman Bangladesh Airlines, took off from Dhaka at 4.35 pm local time for the trip to Dubai via Chittagong.
The pilot made the emergency landing in Chittagong about 40 minutes later, after a crew member reported "suspicious behaviour" by the man, said Rezaul Karim, an official with the Bangladeshi military's inter-service public affairs office.
All 143 passengers and seven crew members aboard the Boeing 737-800 were safely evacuated, Air Vice-Marshal Mofidur Rahman said at a news conference broadcast live on Somoy TV.