A Maryland firefighter involved in a multi-car collision ignored her labor pains to help a passenger trapped in a vehicle.

The firefighter then gave birth to a baby girl hours later.

Megan Warfield was just a week away from her due date when she was involved in a car crash earlier this month. "It was a pretty traumatic event," she told TODAY Parents on Thursday.

The accident took place as Warfield was on the road after hosting her late father's 2nd annual memorial golf tournament, according to PEOPLE. It induced her labor and changed her baby's position. During that time, however, Warfield's focus completely shifted to the woman trapped in the overturned car.

"I started to climb in there with her, but then I was like, 'What are you doing? You're nine months pregnant,'" Warfield told TODAY. "I ended up holding onto her to keep her in place because I wasn't sure of her injuries at the time."

"It was also important that I keep her calm," the new mother added.

Warfield stayed beside the woman until the paramedics, which included her boyfriend Joshua Daugherty, arrived at the scene and took over. Patients were shifted to the hospital, and Warfield decided to let doctors conduct a check on her as well. She soon realized that her baby was on the way.

"I don't know how I did what I did because the cramping was so bad," Warfield added.

"I must've just been running on adrenaline," she said when asked about how she managed to drop to the ground and assist the woman.

A healthy baby girl, Charlotte, was born to Warfield and Daugherty on Oct. 4, less than 24 hours after the crash.

Everyone, meet Megan, a true public servant.Megan is a member of the BQVFD and also a career firefighter with Baltimore County, MD. Megan has been serving in an administrative capacity for the...

Warfield said she was on desk duty during her pregnancy and can't wait to get back to the full swing of work.

"I've been itching to get back out," she added. "It's what I was meant to do."

Bowleys Quarters Volunteer Fire Rescue & Marine called Warfield a "true public servant" in a Facebook post.

"Ignoring any chance she could be injured, Megan immediately exited her mangled vehicle and began providing care to a person trapped by their overturned car," read the post. "Megan stayed with this patient until Squad 213 arrived to free the victim. After all patients were evaluated, Megan agreed to an evaluation herself."

Since no good deed should go unrecognized, we wanted to highlight Megan's heroic and selfess actions," the post went on to say.

Representational image (Car accident)
Representational image (Source: Pixabay / Queven)