President Joe Biden signed the Respect for Marriage Act on Tuesday, which officially enshrines certain protections for same-sex marriages into federal law.

In attendance at the event on the South Lawn of the White House were members of the president’s Cabinet, numerous lawmakers, including House Speaker Nancy Pelosi, D-Calif., and Senate Majority Leader Chuck Schumer, D-N.Y., and LGBTQ activists, including non-binary drag queen Marti Gould Cummings.

"Today, I sign the Respect for Marriage Act into law, deciding whether to marry, who to marry is one of the most profound decisions a person can make," Biden said.

"For most of our nation's history, we denied interracial couples and same-sex couples from these protections. We failed. We failed to treat them with equal dignity and respect. And now law requires interracial marriage. And same-sex marriage must be recognized as legal in every state in the nation," Biden said.

The Respect for Marriage act won approval in the House of Representatives with a 258-169 vote, after the Senate passed it, 61-36.

BIDEN TO SIGN SAME-SEX MARRIAGE BILL DESPITE CONCERNS BY SOME PROGRESSIVES

President Joe Biden signed the Respect for Marriage Act on Tuesday, officially enshrining certain protections for same-sex marriages into federal law.

President Joe Biden signed the Respect for Marriage Act on Tuesday, officially enshrining certain protections for same-sex marriages into federal law. (AP Photo/Evan Vucci, Pool)

During his speech, Biden took aim at Republican-led states that limit transition surgeries for minors.

"We need to challenge the hundreds of callous, cynical laws introduced in the states targeting transgender children, terrifying families and criminalizing doctors who give children the care they need," Biden said.

The president and first lady also invited to the ceremony "members of the LGBTQIA+ community, advocates and allies," including drag queens Cummings and Brita Filter.

Fox News Digital previously reported that the White House had invited Cummings, a non-binary drag queen who has repeatedly attacked police online.

Joe Biden sitting at a table

During his speech, Biden also took aim at Republican-led states that limit transition surgeries for minors. (Nathan Posner/Anadolu Agency via Getty Images)

"[Police Benevolent Association of the City of New York] are scared whiny and weak," Cummings said in a June 2020 tweet. "The people will win #DefundPolice."

"F--- the police," Cummings tweeted on Aug. 24, 2020.

Following the tweet and reports related to previous posts, Cummings locked multiple social media accounts from public view.

"To be a non binary drag artist invited to the White House is something I never imagined would happen," Cummings tweeted after being invited by the president to attend the ceremony. "Thank you President & Dr. Biden for inviting me to this historic bill signing. Grateful doesn’t begin to express the emotions I feel."

BIDEN INVITES ANTI-POLICE NON-BINARY DRAG QUEEN TO WHITE HOUSE: 'F--- THE POLICE'

Joe Biden Roosevelt Room White House

"This law and the love defense strike a blow against hate in all its forms," Biden said Tuesday of the Respect for Marriage Act. (AP/Pablo Martinez Monsivais)

PROGRESSIVES GRUMBLE AS RESPECT FOR MARRIAGE ACT ADVANCES: ‘I HATE THE SENATE BILL’

"Folks, racism, anti-Semitism, homophobia, transphobia, they're all connected. But the antidote to hate is love. This law and the love defense strike a blow against hate in all its forms," Biden said Tuesday.

Conservatives reacted to the president's bill signing, saying Biden was "virtue-signaling."

Ryan Bangert of Alliance Defending Freedom, a conservative law firm that has opposed the bill, said in a statement, "The president chose virtue-signaling over protecting millions of Americans, churches, and faith-based organizations that spoke out for months about the undeniable harms of this unnecessary bill."

"This law is a solution in search of a problem that provides no additional protection or benefits to same-sex couples," Bangert continued.

CLICK HERE TO GET THE FOX NEWS APP

Some progressives have also criticized the bill before its signing, saying it doesn't do enough to protect same-sex couples.

Washington Post columnist Jonathan Capehart, who married his husband in 2017, said in a Washington Post column that he supports the bill but admitted that the more closely he looks at it, "the more my joy diminishes."

Fox News' Thomas Catenacci contributed to this report.