The D.C. National Guard and Maryland National Guard will remain in D.C. after a mob stormed the U.S. Capitol on Wednesday.

The D.C. National Guard will be placed on a 30-day mobilization, ensuring that troops will be on the ground through Inauguration Day and beyond, two defense officials told NBC News.

The Maryland National Guard will remain in D.C. through the end of January, Gov. Larry Hogan announced at a news conference Thursday afternoon, decrying the "heinous and violent assault."

Hogan said Rep. Steny Hoyer called him Wednesday, pleaded for help and said he was sheltering with Senate leader Chuck Schumer and House leader Nancy Pelosi.

Read more: NBC Washington