A dog has died on a United Airlines flight from Houston to New York after a flight attendant ordered the animal be put in the plane’s overhead bin.

United said it was taking responsibility for the incident on the Monday night flight, saying pets should never be put in the overhead storage compartment.

Other passengers posted photos of the customer and her children after the flight.

Passengers say they heard barking during the flight and did not know that the dog had died until the plane landed at LaGuardia Airport.

Chicago-based United said it is investigating the incident and talking to the flight attendant.