The jihad to save his backside is about to begin in federal prison.

(CNN) — Farooque Ahmed, the man accused of attempting to help bomb Metro stations in the Washington area last year, pleaded guilty Monday to two charges in U.S. District Court in Alexandria, Virginia.

Ahmed was sentenced to 23 years in prison.

Ahmed had pleaded not guilty last year. In changing his plea, Ahmed admitted to attempting to provide material support to a designated terrorist organization.

He also pleaded guilty to collecting information to assist in planning a terrorist attack on a transit facility.

Authorities found three weapons at Ahmed’s home at the time of his arrest: a Smith & Wesson pistol, a 12-gauge double-barrel shotgun and a Remington rifle, along with ammunition.

Also discovered was a biography of American-born Yemeni cleric Anwar al-Awlaki. Ahmed told the court that he was “sorry.”

0 Shares