DENVER (AP) — A five-time Olympic swimming medalist charged with participating in a deadly riot at the U.S. Capitol was released from federal custody Thursday but ordered to stay away from Washington, D.C. until after next week’s inauguration.

Klete Keller (credit: U.S. District Court)

Klete Keller, who lives in Colorado, appeared during a brief hearing in Denver federal court following his arrest on charges brought by prosecutors in Washington. At the insistence of prosecutors, Magistrate Judge Michael E. Hegarty said Keller could not travel to Washington before Jan. 21. After that, Keller is allowed to travel to Washington for court appearances and to meet with his lawyers but he must ask for permission for future visits to see his children in North Carolina after a trip already scheduled for this weekend.

READ MORE: Colorado Senate: Initial OK To Easing Child Abuse Lawsuits

Keller did not have to pay money to be released but promised to appear at future court hearings and comply with other standard conditions, including not possessing firearms.

Keller was charged Wednesday in federal court in Washington after a video emerged that appeared to show him among those storming the Capitol last week.

(credit: screenshot from Townhall Media/Julio Rosas)

Screenshots from the video were included in a court document charging him with knowingly entering a restricted building to impede an official government function, disorderly conduct, and obstructing law officers.

Thousands of supporters of President Donald Trump stormed the Capitol during a joint session of Congress on Jan. 6 while lawmakers met to formalize the victory of President-elect Joe Biden.

READ MORE: Denver Public Schools To Discuss Extension To School Year

The 38-year-old Keller competed in the 2000, 2004 and 2008 Summer Olympics. He captured two golds and a silver as a member of the 800-meter freestyle relay, as well as a pair of individual bronzes in the 400 free.

OMAHA, NE – JUNE 30: Klete Keller prepares to compete in the semifinal of the 200 meter freestyle during the U.S. Swimming Olympic Trials on June 30, 2008 at the Qwest Center in Omaha, Nebraska. (Photo by Donald Miralle/Getty Images)

Keller’s alleged participation in the Capitol protest was first reported this week by SwimSwam, a site dedicated to covering competitive swimming and other aquatic sports.

It pointed to video posted to social media by Townhall reporter Julio Rosas, which showed a tall man wearing a U.S. Olympic team jacket among the rioters as officers attempted to clear the Rotunda.

SwimSwam said at least a dozen people within the sport have identified the man as Keller after reviewing the video and screenshots.

By COLLEEN SLEVIN Associated Press

MORE NEWS: 11-Year-Old Boy Shot In Aurora Sunday Night

(© Copyright 2021 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)