After calling attention to outdated Senate rules that made little to no accommodations for lawmakers who are parents, Sen. Tammy Duckworth (D-Ill.) made history on Thursday when she became the first senator to bring a baby onto the Senate floor.

The senator brought her newborn daughter, Maile, who was born last week, into the Senate gallery for a vote on President Donald Trump’s nominee to lead NASA. She was able to do so after a resolution was passed on Wednesday to allow children under the age of one onto the floor during votes.

“I would like to thank my colleagues on both sides of the aisle…for helping bring the Senate into the 21st century by recognizing that sometimes new parents also have responsibilities at work,” Duckworth said in a statement. “By ensuring that no senator will be prevented from performing their constitutional responsibilities simply because they have a young child, the Senate is leading by example and sending the important message that working parents everywhere deserve family-friendly workplace policies.”

“We are simultaneously thrilled that Senator Duckworth will be able to use her powerful voice on the Senate floor while she cares for her newborn daughter, and stunned that it took the Senate this long to overcome resistance to this basic change that meets the needs of working parents,” said Nina Chaudhary of the women’s advocacy group UltraViolet, in a statement. “This baby step is a move in the right direction, but the Senate has a long way to go before it can call itself a welcoming workplace for modern parents and especially new mothers.”

The Senate’s former ban on all children in the gallery was called into question during Duckworth’s pregnancy.

“You are not allowed to bring children onto the floor of the Senate at all,” Duckworth told Politico in February. “If I have to vote, and I’m breastfeeding my child, especially during my maternity leave period, what do I do?…Am I allowed to vote? Can I not do my job?”

The resolution loosening the ban was passed with unanimous consent—but not without some griping by Republican lawmakers.

Sen. Orrin Hatch (R-Utah) approved of the rule change but wondered, “But what if there are 10 babies on the floor of the Senate?” while Sen. Pat Roberts (R-Kan.) said, “I don’t think [it] is necessary” to allow an infant onto the floor.