Former Navy players Keenan Reynolds and Chris Swain have cleared the last hurdle toward pursuing professional football.

Secretary of Defense Ash Carter announced during his commencement address at Navy's graduation Friday morning that he has approved Reynolds and Swain to try out for the NFL effective immediately.

Reynolds was the Ravens' sixth-round draft choice, and Swain signed with the San Diego Chargers as a free agent.

Secretary of the Navy Ray Mabus had previously announced he was recommending Reynolds and Swain be permitted to pursue the NFL. In a statement issued by his office May 13, Mabus said he had submitted paperwork that would enable Reynolds, Swain and New England Patriots long snapper Joe Cardona to “satisfy their remaining commissioned service obligation in the Ready Reserve so they can pursue careers in professional sports.”

According to sources, Swain and Reynolds are exchanging their five-year active-duty commitment for eight years in the Navy Reserve. Cardona, a 2015 graduate, has already served one year on active duty. The San Diego native started all 18 games for the Patriots last season, including playoffs.

Cardona said through a text message that he intended to take the deal to serve in the reserve. Che Mock, who represents Reynolds, said at the time, his client also intended to accept the offer. Swain took time to consider the decision since it meant forfeiting a guaranteed job in the U.S. Navy.

However, Swain's representative said Friday that the fullback has chosen to serve eight years in the reserve. It remains unclear whether Reynolds or Swain will be allowed to return to active duty if they are cut by the Ravens or Chargers.

“There is somewhat of a risk involved, said Brooks Henderson, Swain's agent. “We're hopeful the Navy will consider reassigning these players to active duty if the NFL doesn't work out, but there is no guarantee.”

Contacted on Friday, Mock said the Ravens and Reynolds have reached “an agreement in principle” on a contract. Mock would not disclose terms but said Reynolds will be paid commensurate to his slot in the sixth round.

Mock did confirm that Reynolds, who was the 182nd overall pick in the draft, would receive the maximum signing bonus. It has become customary for the Ravens to give their draft picks the maximum possible bonus.

Mock said the contract would not become official until Ravens officials “confirmed it as received.” It was unclear when Reynolds would report to the club.

Reynolds, a record-setting quarterback at Navy, is trying out as a slot receiver and returner for the Ravens.

“It is a blessing to hear the news from Defense Secretary Carter today. I am truly excited to proudly serve my country while having the ability to fulfill my dream of playing for the best organization in the NFL,” Reynolds said in a statement issued by the Ravens.