Police officers stand outside the U.S. Supreme Court building in Washington, D.C., Oct. 26, 2020.Stefani Reynolds | Bloomberg | Getty ImagesThe Supreme Court’s conservative majority on Wednesday seemed prepared to rule in favor of a Roman Catholic adoption agency in Philadelphia that argued that it is entitled to discriminate against potential foster parents on the basis of sexual orientation.Arguments in the case, known as Fulton v. City of Philadelphia, No. 19-123, concluded around 12 p.m. ET, as the votes from the previous night’s election between President Donald Trump and former Vice President Joe Biden continued to be tabulated.The case was the first major dispute to come before Justice Amy Coney Barrett, who was confirmed to the court late last month. Barrett’s views on LGBT rights and religion came under heavy scrutiny during her Senate confirmation process.Trump suggested early Wednesday morning that he would challenge the results of the election at the Supreme Court, though the topic of the 2020 race was not broached during the course of two hours of arguments. NBC News has not yet called a winner in the presidential contest.The adoption agency case arose after the city of Philadelphia learned in 2018 that Catholic Social Services, a foster care services provide affiliated with the Roman Catholic Church, would not certify same-sex couples as suitable parents for children in the city’s foster care system.After Philadelphia learned about CSS’s policy, the city stopped referring the group new children, citing a city law prohibiting sexual orientation discrimination, and updated its 2019 contract with foster care services providers to explicitly forbid such discrimination against potential parents.Catholic Social Services argues that Philadelphia’s exclusion of it from the city’s foster care system amounts to religious discrimination.Two lower courts sided with Philadelphia, citing the 1990 Supreme Court precedent known as Employment Division v. Smith, which permits laws that affect religion as long as they are neutral and generally applied.Arguments featured a familiar clash between the court’s conservatives, who now occupy six of the nine seats on the bench and have proven deferential to religious interests, and its liberals, who are typically more protective of the rights of sexual minorities.The court’s liberal wing, which includes Justices Stephen Breyer, Elena Kagan and Sonia Sotomayor, seemed to latch onto arguments made by Neal Katyal, the attorney for Philadelphia, that the stakes of the case extended to virtually all government services. “I don’t think the framing of this as religion versus same-sex equality is the right one,” Katyal told the justices. Katyal said that if the court allows CSS to claim an exemption to Philadelphia’s non-discrimination law, it would “radiate far beyond foster care” and allow private contractors to refuse to provide services to religious groups from “Buddhist to Baptist.” Jeffrey Fisher, who represented two nonprofits siding with Philadelphia, suggested that the rule that CSS was pushing for could allow police officers to decline to enforce certain laws if they cite religious reasons. But the court’s conservatives seemed to think that Philadelphia had an ulterior motive. Justice Brett Kavanaugh, who was appointed by Trump, told Katyal it appeared Philadelphia was “looking for a fight” and “created a clash.””If we are honest about what is really going on here, it’s not about ensuring that same-sex couples in Philadelphia have the opportunity to be foster parents,” said Justice Samuel Alito, an appointee of President George W. Bush. “It’s the fact the City can’t stand the message that Catholic Social Services and the Archdiocese are sending by continuing to adhere to the old fashion view about marriage.” A decision in the case is expected by the end of June.This is breaking news. Check back for updates.