CNN  — 

A bear being transported on an Iraqi Airways flight from Baghdad to Dubai Friday caused delays after it escaped from a crate in the cargo hold.

Iraqi Airways issued an apology after a video circulated online of a male passenger saying the return flight to Baghdad was delayed for “over an hour due to a bear in the cargo.”

In another video, a bear cub can be seen roaming outside of its crate on the plane, while people pet and attempt to comfort it.

The bear was sedated by a specialist team in Dubai and taken off the plane, Iraqi Airways said in a statement shared with CNN.

The airline issued an apology on Saturday, saying the bear had escaped the crate “upon arrival to Dubai Airport.”

“The company apologizes to the passengers on the flight from Baghdad International Airport to Dubai Airport for reasons beyond the control of the company,” it said.

“The delay happened because of a shipment in the cargo hold,” the statement added.

“Upon arrival to Dubai Airport, the animal escaped the crate specified for its shipment,” the airline said, adding that it was being transported in line with international animal welfare guidelines.

“The plane crew coordinated with UAE’s authority who sent a specialized team to sedate the animal and take it off the plane. After checking the plane and making sure there is no damage from this incident the flight returned to Baghdad,” the statement added.

The airline did not reveal why the bear was being transported to the United Arab Emirates, or provide any information on its well-being after it was sedated and taken off the plane.

Later Monday, the Iraqi transport ministry told CNN there were in fact two bears on board the flight.

“Two small, endangered bears were shipped from Baghdad, and when the flight arrived in Dubai, one of the bears broke his cage, forcing health and environment authorities at Dubai airport to sedate it,” the statement said.

CNN has reached out to the Iraqi government for further details on the bears.

Iraq’s prime minister, Mohammed Shia al-Sudani, directed the country’s ministry of transport to open an investigation into the bear’s escape, the prime minister’s office said on Sunday.