A 5-year-old boy ended up on the wrong JetBlue flight, landing in Boston, while his panicked mother waited at JFK Airport.

Maribel Martinez said that her son was returning from a family visit in the Dominican Republic on Aug. 17 when she was presented with a different boy at the airport in New York City, according to published reports.

That boy had also flown from the Dominican Republic, and had her son’s passport.

It took more than three hours to locate her child, according to the New York Daily News, who had been put on the other boy’s flight to Boston

“I thought he was kidnapped,” Martinez told the Daily News. “I thought I would never see him again.”

Martinez, who paid an extra $100 fee to have her child escorted on and off the plane, has reportedly retained a lawyer and plans to file a legal claim against JetBlue for negligence and emotional distress.

JetBlue has refunded her $475 for the flight and given the family $2,100 in credit for future flights.

The company also on Wednesday issued a statement to media:  "Two unaccompanied children of the same age traveling separately from Santiago, Dominican Republic, one to New York JFK and one to Boston - each boarded a flight to the incorrect destination. Upon learning of the error, our teams in JFK and Boston immediately took steps to assist the children in reaching their correct destinations. While the children were always under the care and supervision of JetBlue crew members, we realize this situation was distressing for their families."