The Senate on Wednesday confirmed one of President Trump Donald John TrumpSteele Dossier sub-source was subject of FBI counterintelligence probe Pelosi slams Trump executive order on pre-existing conditions: It 'isn't worth the paper it's signed on' Trump 'no longer angry' at Romney because of Supreme Court stance MORE's judicial nominees, who has faced mounting criticism from Democrats over his past writings on the LGBT community.

In a 52-46 vote largely along party lines, the upper chamber confirmed Matthew Kacsmaryk's lifetime appointment to the federal bench in the Northern District of Texas.

ADVERTISEMENT

Sen. Susan Collins Susan Margaret CollinsThe Hill's Campaign Report: Trump faces backlash after not committing to peaceful transition of power Billionaire who donated to Trump in 2016 donates to Biden Credit union group to spend million on Senate, House races MORE (R-Maine) was reportedly the only Republican to join Democrats and oppose Kacsmaryk's nomination. The Maine senator last week announced that she would vote against Kacsmaryk because of his “alarming bias against LGBTQ Americans and disregard for Supreme Court precedents.”

Many Democratic senators voiced similar outrage over the move, with Sen. Kamala Harris Kamala HarrisHundreds of lawyers from nation's oldest African American sorority join effort to fight voter suppression Biden picks up endorsement from progressive climate group 350 Action 3 reasons why Biden is misreading the politics of court packing MORE (D-Calif.), a 2020 presidential candidate, saying it was "unbelievable" that Republicans would vote on Kacsmaryk's during LGBT Pride Month.

It's unbelievable that during #PrideMonth, Republicans have decided to vote on the nomination of Matthew Kacsmaryk for a lifetime position to the federal bench. Kacsmaryk has filed briefs opposing marriage equality and defending anti-transgender bathroom policies. I'm voting NO. — Kamala Harris (@SenKamalaHarris) June 19, 2019

“Mr. Kacsmaryk has demonstrated a hostility to the LGBTQ bordering on paranoia,” Senate Minority Leader Chuck Schumer Chuck SchumerPelosi slams Trump executive order on pre-existing conditions: It 'isn't worth the paper it's signed on' 3 reasons why Biden is misreading the politics of court packing Cruz blocks amended resolution honoring Ginsburg over language about her dying wish MORE (D-N.Y.) said before the vote, The Washington Post reported. “It’s unbelievable that this man has been nominated, and he’s not alone. The parade of narrow-minded, often bigoted people who we’re putting on the bench. . . . One Republican senator rightfully voiced concerns about this man’s fitness. Where are the others?”

Kacsmaryk has served as deputy general counsel at First Liberty Institute, a legal firm that is dedicated to protecting religious liberty for Americans. He also served as an assistant U.S. attorney in the Northern District of Texas from 2008 to 2013.

His nomination had faced opposition from Democrats in part because of his past writings, which included him saying that being transgender was a "mental disorder," according to The Post. Kacsmaryk had also wrote that homosexuality was "disordered," the newspaper added.

Kelly Shackelford, First Liberty Institute president and CEO, said in a statement that Kacsmaryk's confirmation was "further evidence that presidential appointees who adhere to the text of the Constitution and the Founders’ original intent for our most fundamental freedoms, including religious liberty, can and will be confirmed by the U.S. Senate."

"Matthew’s confirmation is further evidence that presidential appointees who adhere to the text of the Constitution and the Founders’ original intent for our most fundamental freedoms, including religious liberty, can and will be confirmed by the U.S. Senate."- Kelly Shackelford pic.twitter.com/LuDTNT3ikd — First Liberty Institute (@1stLiberty) June 19, 2019

The First Liberty Institute did not immediately respond to a request for comment to The Hill.

Some advocacy groups condemned the confirmation. Sarah Warbelow, legal director for the Human Rights Campaign, said in a statement that "Kacsmaryk is among the most anti-LGBTQ judicial nominees put forward by the Trump-Pence administration."