Four months before he was born, Jaxon Lucas Keeney was diagnosed with a heart defect -- his aortic artery and pulmonary artery were backwards, so that his blood circulated in the wrong direction.

His parents, Jon and Megan Keeney, both 26, knew the baby would be whisked straight from birth into the operating room for lifesaving surgery and were confident in Jaxon's doctor.

The hard part was getting the baby's father home to West Virginia in time for the delivery. Jon Keeney was on active duty in the U.S. Army's 305th Military Police Unit nearly 7,000 miles away in Afghanistan.

In 2007, Keeney joined the Reserves at age 20. He did one tour of Iraq in 2010, then volunteered for Afghanistan. The couple found out she was pregnant two days before he went overseas.

Keeney had one delay after another, then got stuck in Germany for four days when his charter flight home was cancelled.

"It was quite a mess," he told ABCNews.com.

But his father, a Baptist pastor, tapped some of his connections, and U.S. senators. Joe Manchin and Jay Rockefeller, both D-W.Va., and U.S. Rep. Shelley Moore Capito, R-W.Va , stepped in to help.

Jaxon's condition -- transposition of the great arteries -- is the second most common cyanotic heart defect, causing blue-tinged skin and breathing problems, according to the National Institutes of Health.

In a normal heart, the blood that returns from the body goes through the right side of the heart and the pulmonary artery to the lungs to get oxygen. It then returns through the left side and travels out the aorta to the body.

"In transposition, the pulmonary artery comes out of the left [of the heart] and the aorta comes out of the right," according to Dr. Larry Rhodes, chief of pediatric cardiology at WVU Children's, where Jaxon was treated.

"The blood doesn't go where it is supposed to," said Rhodes. "The blood goes to the body and is not taking oxygen."