A Southwest Airlines flight heading to Phoenix, Arizona made an emergency landing on Tuesday after a woman gave birth on the plane.

Flight 623 departed from San Francisco at 6:24 a.m. on Tuesday with 111 passengers, however it landed in Los Angeles with 112 people on board after a pregnant woman delivered a newborn baby mid-flight. Fortunately, a doctor and nurse were on board to help deliver the baby boy.

Passengers and the crew aboard the flight said they were shocked to learn that the woman went into labor shortly after takeoff. One passenger who sat two rows in front of the woman said that most people on board didn't realize the woman was in labor until they heard the baby crying and her husband asking a flight attendant for help.

Apparently, the woman gave birth while she was seated by a window in the upright position, he said. "It was very shocking," Ken Marshall,he told the L.A. Times.

The mother was met by paramedics when the plane landed in Los Angeles. The family was then transported to a local hospital, which reported that both the mother and child were in good condition.

"I can't think of anything else that's going to top that, at least not for a while," said Captain John Gordy, according to

"It was amazing," said flight attendant Carri Robinson. "All the passengers were awesome. Everybody was clapping."

Aarti Shahani told ABC News affiliate KNXV that she didn't realize the mother gave birth until the pilot announced the plane was making an emergency landing.

"One of the flight attendants said everybody should go buy a lottery ticket tonight and I am totally going to do that," said Shahani.

"It was a really cool thing," said passenger Ely Alexander to ABC News station KABC. "Never thought I'd experience that ... It was just amazing that that happened on a plane."

"I suggested to her and the lady next to me - I said, 'let's get even with the Kardashians and call her Southwest,'" said flight attendant Danielle Fite.

The remaining passengers eventually boarded a new aircraft and arrived in Phoenix on Tuesday afternoon.

A city fire department spokesman also confirmed that the mother and her newborn were doing well.