The newly Democratic-controlled House overhauled a 181-year-old rule that banned hats from the floor to accommodate lawmakers who wear religious headwear.

The ban was lifted in a provision included in a rules package that the House passed in a 234-197 vote on Thursday.

The rule change to overhaul the ban on head coverings, which has reportedly been in place since 1837, now reads: “During the session of the House, a Member, Delegate, or Resident Commissioner may not wear nonreligious headdress or a hat or remain by the Clerk’s desk during the call of the roll or the counting of ballots.”

ADVERTISEMENT

The move also arrived the same day Congress welcomed its first two female Muslim members, Democratic Reps. Rashida Tlaib Rashida Harbi TlaibGeorge Conway: 'Trump is like a practical joke that got out of hand' Pelosi endorses Kennedy in Massachusetts Senate primary challenge The Democratic Party platform represents our big tent MORE (Mich.) and Ilhan Omar Ilhan OmarDemocrats scramble on COVID-19 relief amid division, Trump surprise Larry Kudlow defends response to coronavirus: Trump 'led wisely' The Hill's Morning Report - Sponsored by National Industries for the Blind - Woodward book revelations rock Washington MORE (Minn.).

The argument to lift the ban was proposed by Rep. Nancy Pelosi Nancy PelosiPowell warns failure to reach COVID-19 deal could 'scar and damage' economy Overnight Defense: House to vote on military justice bill spurred by Vanessa Guillén death | Biden courts veterans after Trump's military controversies Intelligence chief says Congress will get some in-person election security briefings MORE (D-Calif.) last month and later by Rep. Jim McGovern (D-Mass.) to accommodate Omar, who is the first member of Congress to wear a religious headscarf.

Omar, who also co-authored the proposal, took to Twitter to celebrate the news on Friday.

“Yesterday, Congress voted to lift a 181 year ban on headwear to make the #116thCongress more inclusive for all,” Omar said.

“I thank my colleagues for welcoming me, and I look forward to the day we lift the Muslim ban separating families all over the U.S. from their loved ones,” she continued.