A man who attacked an Associated Press photographer and threw a flagpole and smoke grenade at police officers guarding the U.S. Capitol on Jan. 6, 2021, was sentenced on Friday to five years in prison.

Rodney Milstreed, 56, of Finksburg, Maryland, “prepared himself for battle” on Jan. 6 by injecting steroids and arming himself with a four-foot wooden club disguised as a flagpole, prosecutors said.

“He began taking steroids in the weeks leading up to January 6, so that he would be ‘jacked’ and ready because, he said, someone needed to ‘hang for treason’ and the battle might come down to hand-to-hand combat,” prosecutors wrote in a court filing.