Sens. Kamala Harris and Cory Booker — who are ardent supporters of LGBTQ rights — attended services at a Las Vegas church led by a pastor who has described homosexuality as a sin, according to reports.

The Democratic presidential hopefuls separately attended services last week with the Rev. Robert Fowler Sr. at Victory Missionary Baptist Church, one of the state’s largest black churches, according to The Hill.

Vermont Sen. Bernie Sanders, also a presidential contender, held a town hall at the church on July 6, but did not appear with Fowler or attend a service the pastor led.

“Whether you commit adultery, whether you commit fornication, whether you’re a child molester, you gossip, you lie, you cheat on your taxes, you don’t pay your tithes, things of that nature — all of that is wrapped together as sin, along with homosexuality,” Fowler said in a 2013 interview with Nevada Public Radio.

“Any sin, if you break the law in one area, you’ve broken it in all areas. If you mess up in one area, that’s enough to send you to hell — so any sin is pretty bad for me,” he added.

Fowler’s office did not respond to a request for comment by The Hill, but he affirmed his stance on homosexuality during an interview with the Bay Area News Group on Sunday.

“Homosexuality, adultery, fornication, those are all sexual sins addressed in scripture,” he said.

Harris (D-Calif.) attended services at Fowler’s church on Sunday morning and later delivered a speech there. Booker (D-NJ) was at the church late Saturday, according to the San Jose Mercury News.

An official from the California senator’s campaign told The Hill that the campaign was unaware of Fowler’s past statements. A campaign spokeswoman separately stressed Harris’ advocacy on LGBTQ issues.

“Senator Harris’ support and advocacy for LGBTQ equality has been unwavering throughout her career and will continue when elected president,” the rep told The Hill.

“She will continue to visit houses of worship across the country to address congregants about the pressing issues we face as a nation,” she added.

Booker distanced himself from the pastor’s remarks, but his campaign did not respond to a question from The Hill about whether he had known about them before his appearance on Saturday.

“Cory does not share these views,” the New Jersey senator’s press secretary, Sabrina Singh, told The Hill in a statement.

“Throughout his career, Cory has been a consistent fighter for the rights of LGBTQ people and even refused to officiate weddings as Newark mayor until same-sex couples were granted the same rights as everyone,” Singh told the news outlet.

“He’ll keep fighting to end discrimination as president,” she added.

The Human Rights Campaign said it was disappointed by the candidates’ visits.

“Pastor Fowler’s statements and his history with the LGBTQ community are deeply troubling. Rhetoric matters, and with LGBTQ people under attack across the country, condemning hateful words and hate-fueled violence matters more than ever,” group spokesman Lucas Acosta told The Hill.

An LGBTQ advocacy group noted that Booker and Harris have compiled strong records on LGBTQ rights.

“Senators Harris and Booker have been champions for the LGBTQ community throughout their careers. We would never ask or expect a candidate to ignore an entire faith community simply because they disagree with the pastor,” Samuel Garrett-Pate, spokesman for Equality California, told the outlet.

Fowler’s church has been a stop in past presidential campaigns, including in 2016, when Sanders and Hillary Clinton attended a service there.