Oath Keepers founding member becomes 1st defendant to plead guilty to federal charges in Capitol riot

A heavy metal guitarist who was photographed with the mob that stormed the U.S. Capitol and is accused of spraying police officers with a pepper-based bear spray irritant entered a plea deal Friday in federal court. 

Jon Ryan Schaffer's plea on two felony counts was accepted by the D.C. federal judge. He was allowed to be released prior to sentencing, according to officials. 

49997369-Untitled design (62)

SUBSCRIBE TO FOX 5 DC ON YOUTUBE

Schaffer, a central Indiana native who is a member of the band "Iced Earth." The was formed in Tampa, Florida, in the 1980s, according to its website.

Schaffer had been sought after, according to a federal statement about his case, he was seen in photographs and on video "engaging in verbal altercations with Capitol Police inside the Capitol building" and holding a container of bear spray that’s sold by outdoor retailers.

The defense noted that Schaffer self-surrended and is the first to plead guilty.

READ MORE: USCP officer involved in fatal shooting of Ashli Babbitt won't face charges, DOJ says

Part of the plea deal includes Schaffer agreeing to give testimony and witness interviews and the Justice Department moving to sponsor him for the witness security program.

At Schaffer's sentencing hearing, which has yet to be scheduled, the judge will consider federal sentencing guidelines 41 months to 51 months in prison and 15 to 150,000 thousands dollars fine, plus restitituion.

The Associated Press contributed to this report.