An attorney who represented the far-right Oath Keepers pleaded guilty on Wednesday to charges stemming from a mob’s Jan. 6, 2021, attack on the U.S. Capitol, including members of the extremist group.

Kellye SoRelle, who was general counsel for the antigovernment group and a close associate of its founder, is scheduled to be sentenced on Jan. 17 by U.S. District Judge Amit Mehta in Washington, D.C.

SoRelle, 45, of Granbury, Texas, answered routine questions by the judge as she pleaded guilty to two charges: a felony count of obstructing justice and a misdemeanor count of entering and remaining in a restricted building or grounds. The felony carries a maximum prison sentence of 20 years, but her estimated sentencing guidelines recommend a maximum of 16 months behind bars.

SoRelle was arrested in Junction, Texas, in September 2022. Her case remained suspended for months amid questions about her mental health.

More than a year ago, medical experts concluded that SoRelle was mentally incompetent to stand trial. In November 2023, she reported to a federal Bureau of Prisons facility for treatment. Last month, Mehta ruled that SoRelle had recovered to an extent that she could understand the nature of her charges and could assist in her defense.