Noore Alam confessed the rape to the court after his arrest
Air Vice Marshal Muhammad Mafidur Rahman, who participated in the operations, told reporters about the development at the airport around 7:45pm on Sunday.
The suspect had wanted to talk to Prime Minister Sheikh Hasina, the Bangladesh Air Force official said.
All the passengers and crew members are unharmed, he added.