A KLM flight traveling from Lagos, Nigeria, to Amsterdam, the Netherlands, had to make an emergency landing in Barcelona, Spain, when a woman unexpectedly went into labor onboard. The incident occurred early Monday morning on KLM Flight 588, a Boeing 777 aircraft.

The woman, whose identity remains undisclosed, was taken to the front galley where she successfully gave birth to a premature baby girl. Medical personnel were prepared at the Barcelona airport for the emergency landing.

Both the mother and the newborn were reported to be in stable condition. KLM spokeswoman Marjan Rozemeijer confirmed the birth but refrained from providing further details due to privacy concerns.