HARRISBURG, Pa. (CBS / AP) — A Pennsylvania woman facing charges that she helped steal a laptop from the office of House Speaker Nancy Pelosi (D-San Francisco) during the attack on the U.S. Capitol will be released from jail, a federal judge decided Thursday.

U.S. Magistrate Judge Martin Carlson directed that Riley June Williams be released into the custody of her mother, with travel restrictions, and instructed her to appear Monday in federal court in Washington to continue her case.

READ MORE: Update: Fawn Fire Near Redding Grows To 7,500 Acres Overnight; Firefighters Look To Cooler Weather

“The gravity of these offenses is great,” Carlson told Williams. “It cannot be overstated.”

Williams, 22, of Harrisburg, is accused of theft, obstruction and trespassing, as well as violent entry and disorderly conduct on Capitol grounds. Carlson noted Williams has no prior criminal record.

Riley Williams is accused of stealing a laptop from Speaker Nancy Pelosi's office during the deadly siege of the U.S. Capitol on January 6, 2021. (FBI)

Riley Williams is accused of stealing a laptop from Speaker Nancy Pelosi’s office during the deadly siege of the U.S. Capitol on January 6, 2021. (FBI)

The FBI says an unidentified former romantic partner of Williams tipped them off that she appeared in video from the Jan. 6 rioting and the tipster claimed she had hoped to sell the computer to Russian intelligence.

Williams’ defense lawyer, Lori Ulrich, told Carlson the tipster is a former boyfriend who had been abusive to Williams and that “his accusations are overstated.”

Video from the riot shows a woman matching Williams’ description exhorting invaders to go “upstairs, upstairs, upstairs” during the attack, which briefly disrupted certification of President Joe Biden’s electoral victory.

“It is regrettable that Ms. Williams took the president’s bait and went inside the Capitol,” Ulrich told the judge.

Williams surrendered to face charges on Monday. She was expected to leave the county jail in Harrisburg later Thursday, and will be on electronic monitoring to await trial.

READ MORE: Students Demand Climate Action In March Down San Francisco's Market Street - 'Need To Make An Immediate Change'

She did not respond to questions as a federal marshal led her in handcuffs out of the courtroom.

Carlson made direct reference to the attack on the Capitol, saying a howling crowd tried unsuccessfully to prevent the peaceful transition of power.

“It has been honored by generations of Americans for 232 years,” Carlson said. “It has become so commonplace that we often think very little of it.”

In adding the theft-related charges on Tuesday, a Virginia-based FBI agent said Williams was recorded on closed-circuit cameras in the Capitol going into and coming out of Pelosi’s office.

The agent’s affidavit said a cellphone video that was likely shot by Williams shows a man’s gloved hand lifting an HP laptop from a table, and the caption read, “they got the laptop.”

Pelosi’s deputy chief of staff, Drew Hammill, has said a laptop used only for presentations was taken from a conference room. The current location of the computer has not been disclosed in court documents, and was not discussed in court on Thursday.

One other person who was spotted in Pelosi’s office during the capitol attack, Richard Barnett of Arkansas, faces up to 11 years in prison for his role in the siege. A third person, Adam Johnson of Florida, faces charges after being photographed with Pelosi’s lectern.

MORE NEWS: Public Health Officials, NBA Bench Unvaccinated Warriors Star Andrew Wiggins For Chase Center Games

© Copyright 2020 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.