For the first time in 181 years, head coverings can be worn on the floor of the House of Representatives for religious reasons.

The ban on head coverings had been in place since 1837, the Washington Post history blog Retropolis reported Friday.

A newly diverse House — which includes Rashida Tlaib of Michigan and Ilhan Omar of Minnesota, the country’s first female Muslim members of Congress — passed the new rule Thursday, the same day Tlaib and Omar took office. Omar wears a head covering. Both women are Democrats.

The rules package passed 234 to 197 and includes a number of provisions, among them several seeking to “restore inclusion and diversity.”

Omar celebrated the change on Twitter:

According to the Web page of the House historian, the 1837 measure passed with weirdly little debate, considering that efforts to keep heads bare had been going down in flames for years. Some opponents of the ban before 1837 argued that there was nowhere for men (no women in office then, obviously) to put their hats. Others said wearing hats showed a connection to the British House of Commons, where lawmakers wore hats during debates to reflect their independence from the king of England.

“Regarding then this usage as merely ‘the outward and visible sign of the inward and spiritual’ freedom of this body from all executive control or interference, let us preserve it,” John M. Patton of Virginia argued on the floor of the House. “And whenever, if ever, our executive magistrates shall attempt to employ any improper influence on this body, let us be found with our hats on.”

House historians told Retropolis that French diplomat Alexis de Tocqueville noted the general lack of decorum in the House in the early 1800s. “One is struck by the vulgar demeanor of that great assembly,” de Tocqueville wrote. Members used chewing tobacco and spat, smoked cigars, carried weapons, swilled liquor, and propped their feet on their desks.

This week, the argument in favor of lifting the ban was different. It was proposed last month by Rep. Nancy Pelosi (D-Calif.), then the House minority leader; Rep. Jim McGovern (Mass.), the House Rules Committee’s ranking Democrat; and Omar, of Minnesota. It was proposed to accommodate Omar. The rule change 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. A person on the floor of the House may not smoke or use a mobile electronic device that impairs decorum.”

Nathan Diament, executive director of the Orthodox Union Advocacy Center, which represents the interests of Orthodox Jews, said when the rule change was recently proposed that no Jewish House member had made the ban an issue in the past. However, he said there have been special House sessions when Jewish men wore head coverings — including when Israeli Prime Minister Benjamin Netanyahu addressed Congress, and Israeli officials wore yarmulkes — called “kippot” in Hebrew.

“The Orthodox Union has long supported laws and policies that foster the accommodation of religious practices in the workplace. Religious practices — such as wearing religious garb, whether a kippot or a hijab, should be accommodated in all workplaces — including in the halls of Congress,” he said.

Mike DeBonis contributed to this report.

Six days after mosque attacks, New Zealand bans military-style rifles

‘On 15 March, our history changed forever. Now, our laws will, too,’ said Prime Minister Jacinda Ardern

Elizabeth Warren talked about how faith shapes her liberal politics. Here’s why that was a good move.

She pushed back on the idea that there isn’t room for faith-based voters in the Democratic Party

Why two NYU students confronted Chelsea Clinton at a vigil for the New Zealand mosque massacre

It was related to a tweet from Clinton about Rep. Ilhan Omar