Riley, who was wearing full body armor, also wounded an 11-year-old girl before surrendering himself to the police following an intense gunfight, Judd said.
Riley, a veteran of the wars in Iraq and Afghanistan, told the police he was a “survivalist” and that he had been taking methamphetamine.
The suspect also told the police, without elaborating, “You know why I did this,” according to a statement from Judd published on social media.
Riley was wounded in the gunfight and was rushed to a local hospital, where he again tried to attack police officers and had to be sedated.
After he received medical help, the suspect was transferred to a local jail.
It was not immediately clear what prompted the attack, Judd said. An investigation is underway.