(CNN) A Louisiana soldier was sentenced to 11 years in prison Monday for constructing and detonating a bomb last year near the Fort Polk Army post.

Ryan Keith Taylor, 24, of New Llano, Louisiana, pleaded guilty in June to manufacturing and detonating a chemical weapon in the Kisatchie National Forest. The bomb contained "highly toxic chlorine gas," which is banned under national and international laws, the Department of Justice said in a news release

Two soldiers suffered severe injuries after coming into contact with the chemical and its residue.

"Those serving our country put their lives on the line daily to protect us," said David C. Joseph, US Attorney for the Western District of Louisiana. "They should not be put in danger needlessly."

Taylor had faced up to life in prison.

Read More