A Baptist minister in Texas who came to national attention in 2016 when he praised the gunman who killed 49 people at a gay nightclub in Orlando, Florida, resigned from his ministry last week after allegedly using drugs, gambling and paying for sex with prostitutes.

Donnie Romero, who founded the Stedfast Baptist Church in Fort Worth in 2014, told congregants at a church meeting on 2 January he had not “been ruling my house well.”

“I have been a terrible husband and father,” Mr Romero said in a video of the meeting that was posted to the church’s official YouTube channel. “This is the best decision — for my family and my church — to make.”

Mr Romero did not elaborate on his alleged impropriety at that meeting, which was largely run by another pastor, Steven L Anderson. Mr Anderson told congregants “the Lord says” Mr Romero was “disqualified” to lead them.

Later, in a video he posted to YouTube, Mr Anderson expanded on what he called the pastor’s “major sins.”

“Basically, the major sin involved was being with prostitutes and then there were also marijuana and gambling that were also discovered,” Mr Anderson said.

He added no one else at the church had been “tainted with any of this or were involved with any of this.”

Mr Anderson did not specify the gender of the prostitutes or provide a timeline for the infractions.

Neither Mr Anderson, Mr Romero nor the new pastor of Stedfast Baptist Church, Jonathan Shelley, responded to messages seeking comment.

Stedfast Baptist Church is part of a nationwide network of almost 30 independent Baptist churches associated with Mr Anderson, who founded Faithful Word Baptist Church in Tempe, Arizona.

He gained notoriety in 2009 for saying in a sermon he had prayed for the death of President Barack Obama, and was criticised by the Anti-Defamation League in 2014 for what it called his “history of antisemitism.”

In pictures: The victims of the Orlando shooting Show all 44 1 /44 In pictures: The victims of the Orlando shooting In pictures: The victims of the Orlando shooting Frank Escalante This undated photo shows Frank Hernandez, one of the people killed in the Pulse nightclub in Orlando, Fla., early Sunday, June 12, 2016. A gunman wielding an assault-type rifle and a handgun opened fire inside the nightclub, killing dozens in the worst mass shooting in modern U.S. history. (Facebook via AP) AP In pictures: The victims of the Orlando shooting Luis Daniel Conde This undated photo shows Luis Daniel Conde, one of the people killed in the Pulse nightclub in Orlando, Fla., early Sunday, June 12, 2016. A gunman wielding an assault-type rifle and a handgun opened fire inside the nightclub, killing dozens in the worst mass shooting in modern U.S. history. (Facebook via AP) AP In pictures: The victims of the Orlando shooting Brenda Lee Marquez McCool In pictures: The victims of the Orlando shooting Yilmary Rodriguez Solivan CORRECTS FROM YILMARY RODRIGUEZ SULIVAN TO YILMARY RODRIGUEZ SOLIVAN- This undated photo shows Yilmary Rodriguez Solivan, one of the people killed in the Pulse nightclub in Orlando, Fla., early Sunday, June 12, 2016. A gunman wielding an assault-type rifle and a handgun opened fire inside the nightclub, killing dozens in the worst mass shooting in modern U.S. history. (Facebook via AP) AP In pictures: The victims of the Orlando shooting Joel Rayon Paniagua This photo shows Joel Rayon Paniagua, one of the people killed in the Pulse nightclub in Orlando, Fla., early Sunday, June 12, 2016. A gunman wielding an assault-type rifle and a handgun opened fire inside the nightclub, killing dozens in the worst mass shooting in modern U.S. history. (Facebook via AP) AP In pictures: The victims of the Orlando shooting Jerald Arthur Wright This undated photo shows Jerald Arthur Wright, one of the people killed in the Pulse nightclub in Orlando, Fla., early Sunday, June 12, 2016. A gunman wielding an assault-type rifle and a handgun opened fire inside the nightclub, killing dozens in the worst mass shooting in modern U.S. history. (Facebook via AP) AP In pictures: The victims of the Orlando shooting Paul Terrell Henry This undated photo shows Paul Terrell Henry, one of the people killed in the Pulse nightclub in Orlando, Fla., early Sunday, June 12, 2016. A gunman wielding an assault-type rifle and a handgun opened fire inside the nightclub, killing dozens in the worst mass shooting in modern U.S. history. (Facebook via AP) AP In pictures: The victims of the Orlando shooting Shane Evan Tomlinson This undated photo shows Shane Evan Tomlinson, one of the people killed in the Pulse nightclub in Orlando, Fla., early Sunday, June 12, 2016. A gunman wielding an assault-type rifle and a handgun opened fire inside the nightclub, killing dozens in the worst mass shooting in modern U.S. history. (Facebook via AP) AP In pictures: The victims of the Orlando shooting Antonio Davon Brown This undated photo shows Antonio Davon Brown, one of the people killed in the Pulse nightclub in Orlando, Fla., early Sunday, June 12, 2016. A gunman wielding an assault-type rifle and a handgun opened fire inside the nightclub, killing dozens in the worst mass shooting in modern U.S. history. (Facebook via AP) AP In pictures: The victims of the Orlando shooting Jason Benjamin Josaphat This undated photo shows Jason Benjamin Josaphat, one of the people killed in the Pulse nightclub in Orlando, Fla., early Sunday, June 12, 2016. A gunman wielding an assault-type rifle and a handgun opened fire inside the nightclub, killing dozens in the worst mass shooting in modern U.S. history. (Facebook via AP) AP In pictures: The victims of the Orlando shooting Enrique L. Rios, Jr. This undated photo shows Enrique L. Rios, Jr., one of the people killed in the Pulse nightclub in Orlando, Fla., early Sunday, June 12, 2016. A gunman wielding an assault-type rifle and a handgun opened fire inside the nightclub, killing dozens in the worst mass shooting in modern U.S. history. (Facebook via AP) AP In pictures: The victims of the Orlando shooting Darryl Roman Burt This undated photo shows Darryl Roman Burt II, one of the people killed in the Pulse nightclub in Orlando, Fla., early Sunday, June 12, 2016. A gunman wielding an assault-type rifle and a handgun opened fire inside the nightclub, killing dozens in the worst mass shooting in modern U.S. history. (Facebook via AP) AP In pictures: The victims of the Orlando shooting Cory James Connell An undated photo from the Facebook account of Cory James Connell, who police identified as one of the victims of the shooting massacre that happened at the Pulse nightclub of Orlando, Florida, on June 12, 2016. Cory Connell via Facebook/Handout via REUTERS ATTENTION EDITORS - THIS IMAGE WAS PROVIDED BY A THIRD PARTY. EDITORIAL USE ONLY. NO RESALES. NO ARCHIVE. REUTERS In pictures: The victims of the Orlando shooting Tevin Eugene Crosby This undated photo shows Tevin Eugene Crosby, one of the people killed in the Pulse nightclub in Orlando, Fla., early Sunday, June 12, 2016. A gunman wielding an assault-type rifle and a handgun opened fire inside the nightclub, killing dozens in the worst mass shooting in modern U.S. history. (Facebook via AP) AP In pictures: The victims of the Orlando shooting Jonathan Antonio Camuy-Vega This undated photo shows Jonathan Antonio Camuy Vega, one of the people killed in the Pulse nightclub in Orlando, Fla., early Sunday, June 12, 2016. A gunman wielding an assault-type rifle and a handgun opened fire inside the nightclub, killing dozens in the worst mass shooting in modern U.S. history. (Facebook via AP) AP In pictures: The victims of the Orlando shooting Rodolfo Ayala-Ayala This undated photo shows Rodolfo Ayala-Ayala, one of the people killed in the Pulse nightclub in Orlando, Fla., early Sunday, June 12, 2016. A gunman wielding an assault-type rifle and a handgun opened fire inside the nightclub, killing dozens in the worst mass shooting in modern U.S. history. (Facebook via AP) AP In pictures: The victims of the Orlando shooting Leroy Valentin Fernandez This undated photo shows Leroy Valentin Fernandez, one of the people killed in the Pulse nightclub in Orlando, Fla., early Sunday, June 12, 2016. A gunman wielding an assault-type rifle and a handgun opened fire inside the nightclub, killing dozens in the worst mass shooting in modern U.S. history. (Instagram via AP) AP In pictures: The victims of the Orlando shooting Christopher Andrew Leinonen This undated photo shows Christopher Andrew Leinonen, right, one of the people killed in the Pulse nightclub in Orlando, Fla., early Sunday, June 12, 2016. A gunman wielding an assault-type rifle and a handgun opened fire inside the nightclub, killing dozens in the worst mass shooting in modern U.S. history. The man at left is unidentified. (Facebook via AP) AP In pictures: The victims of the Orlando shooting Angel L. Candelario-Padro This undated photo shows Angel L. Candelario-Padro, one of the people killed in the Pulse nightclub in Orlando, Fla., early Sunday, June 12, 2016. A gunman wielding an assault-type rifle and a handgun opened fire inside the nightclub, killing dozens in the worst mass shooting in modern U.S. history. (Facebook via AP) AP In pictures: The victims of the Orlando shooting Simon Adrian Carrillo-Fernande This undated photo shows Simon Adrian Carrillo Fernandez, one of the people killed in the Pulse nightclub in Orlando, Fla., early Sunday, June 12, 2016. A gunman wielding an assault-type rifle and a handgun opened fire inside the nightclub, killing dozens in the worst mass shooting in modern U.S. history. (Facebook via AP) AP In pictures: The victims of the Orlando shooting Christopher Joseph Sanfeliz An undated photo from the Facebook account of Christopher Joseph Sanfeliz, who police identified as one of the victims of the shooting massacre that happened at the Pulse nightclub of Orlando, Florida, on June 12, 2016. Christopher Joseph Sanfeliz via Facebook/Handout via REUTERS ATTENTION EDITORS - THIS IMAGE WAS PRIVIDED BY A THIRD PARTY. EDITORIAL USE ONLY. NO RESALES. NO ARCHIVE. REUTERS In pictures: The victims of the Orlando shooting Javier Jorge-Reyes This undated photo shows Javier Jorge-Reyes, one of the people killed in the Pulse nightclub in Orlando, Fla., early Sunday, June 12, 2016. A gunman wielding an assault-type rifle and a handgun opened fire inside the nightclub, killing dozens in the worst mass shooting in modern U.S. history. (Facebook via AP) AP In pictures: The victims of the Orlando shooting Gilberto Ramon Silva-Menendez This undated photo shows Gilberto Ramon Silva Menendez, one of the people killed in the Pulse nightclub in Orlando, Fla., early Sunday, June 12, 2016. A gunman wielding an assault-type rifle and a handgun opened fire inside the nightclub, killing dozens in the worst mass shooting in modern U.S. history. (Facebook via AP) AP In pictures: The victims of the Orlando shooting Juan P. Rivera-Velazquez This undated photo shows Juan P. Rivera Velazquez, one of the people killed in the Pulse nightclub in Orlando, Fla., early Sunday, June 12, 2016. A gunman wielding an assault-type rifle and a handgun opened fire inside the nightclub, killing dozens in the worst mass shooting in modern U.S. history. (Facebook via AP) AP In pictures: The victims of the Orlando shooting Miguel Angel Honorato This undated photo provided by Jose Honorato shows his brother Miguel Angel Honorato, center, one of the people killed in the Pulse nightclub in Orlando, Fla., early Sunday, June 12, 2016. A gunman wielding an assault-type rifle and a handgun opened fire inside the nightclub, killing dozens in the worst mass shooting in modern U.S. history. (Courtesy of Jose Honorato via AP) AP In pictures: The victims of the Orlando shooting Jean Carlos Mendez Perez An undated photo from the Facebook account of Jean Carlos Mendez Perez, who police identified as one of the victims of the shooting massacre that happened at the Pulse nightclub of Orlando, Florida, on June 12, 2016. Jean Mendez via Facebook/Handout via REUTERS ATTENTION EDITORS - THIS IMAGE WAS PRIVIDED BY A THIRD PARTY. EDITORIAL USE ONLY. NO RESALES. NO ARCHIVE. REUTERS In pictures: The victims of the Orlando shooting Mercedez Marisol Flores An undated photo from the Facebook account of Mercedez Marisol Flores, who police identified as one of the victims of the shooting massacre that happened at the Pulse nightclub of Orlando, Florida, on June 12, 2016. Mercedez Flores via Facebook/Handout via REUTERS ATTENTION EDITORS - THIS IMAGE WAS PRIVIDED BY A THIRD PARTY. EDITORIAL USE ONLY. NO RESALES. NO ARCHIVE. REUTERS In pictures: The victims of the Orlando shooting Xavier Emmanuel Serrano Rosado An undated photo from the Facebook account of Xavier Emmanuel Serrano Rosado, who police identified as one of the victims of the shooting massacre that happened at the Pulse nightclub of Orlando, Florida, on June 12, 2016. Xavier E. Serrano via Facebook/Handout via REUTERS ATTENTION EDITORS - THIS IMAGE WAS PRIVIDED BY A THIRD PARTY. EDITORIAL USE ONLY. NO RESALES. NO ARCHIVE. REUTERS In pictures: The victims of the Orlando shooting Anthony Luis Laureano Disla An undated photo from the Facebook account of Anthony Luis Laureano Disla, who police identified as one of the victims of the shooting massacre that happened at the Pulse nightclub of Orlando, Florida, on June 12, 2016. Anthony Laureano via Facebook/Handout via REUTERS ATTENTION EDITORS - THIS IMAGE WAS PRIVIDED BY A THIRD PARTY. EDITORIAL USE ONLY. NO RESALES. NO ARCHIVE. REUTERS In pictures: The victims of the Orlando shooting Franky Jimmy De Jesus Velazquez An undated photo from the Facebook account of Franky Jimmy De Jesus Velazquez, who police identified as one of the victims of the shooting massacre that happened at the Pulse nightclub of Orlando, Florida, on June 12, 2016. Jimmy De Jesus via Facebook/Handout via REUTERS ATTENTION EDITORS - THIS IMAGE WAS PRIVIDED BY A THIRD PARTY. EDITORIAL USE ONLY. NO RESALES. NO ARCHIVE. REUTERS In pictures: The victims of the Orlando shooting Oscar A. Aracena-Montero An undated photo from the Facebook account of Oscar A. Aracena-Montero, who police identified as one of the victims of the shooting massacre that happened at the Pulse nightclub of Orlando, Florida, on June 12, 2016. Oscar Aracena via Facebook/Handout via REUTERS ATTENTION EDITORS - THIS IMAGE WAS PRIVIDED BY A THIRD PARTY. EDITORIAL USE ONLY. NO RESALES. NO ARCHIVE. REUTERS In pictures: The victims of the Orlando shooting Luis Daniel Wilson-Leon An undated photo from the Facebook account of Luis Daniel Wilson-Leon, who police identified as one of the victims of the shooting massacre that happened at the Pulse nightclub of Orlando, Florida, on June 12, 2016. Lestat Wilson via Facebook/Handout via REUTERS ATTENTION EDITORS - THIS IMAGE WAS PRIVIDED BY A THIRD PARTY. EDITORIAL USE ONLY. NO RESALES. NO ARCHIVE. REUTERS In pictures: The victims of the Orlando shooting Martin Benitez Torres An undated photo from the Facebook account of Martin Benitez Torres, who police identified as one of the victims of the shooting massacre that happened at the Pulse nightclub of Orlando, Florida, on June 12, 2016. Martin Benitez via Facebook/Handout via REUTERS ATTENTION EDITORS - THIS IMAGE WAS PRIVIDED BY A THIRD PARTY. EDITORIAL USE ONLY. NO RESALES. NO ARCHIVE. REUTERS In pictures: The victims of the Orlando shooting Stanley Almodovar Facebook/Stanley Manolo Almodovar III In pictures: The victims of the Orlando shooting Eddie Justice Faebook/ Eddie Justice In pictures: The victims of the Orlando shooting Luis Vielma Twitter/@jk_rowling In pictures: The victims of the Orlando shooting Eric Ivan Ortiz-Rivera Facebook/ Eric Rivera In pictures: The victims of the Orlando shooting Juan Ramon Guerrero Facebook/ Juan Ramon Guerrero In pictures: The victims of the Orlando shooting Peter O. Gonzalez-Cruz Facebook/ Peter Gonzalez Cruz In pictures: The victims of the Orlando shooting Amanda Alvear Facebook/ Amanda Alvear In pictures: The victims of the Orlando shooting Anthony Disla Facebook/ Anthony Disla In pictures: The victims of the Orlando shooting Edward Sotomayor Twitter/@ryanraiche In pictures: The victims of the Orlando shooting Luis Omar Ocasio-Capo Facebook/Luis Omar Ocasio-Capo In pictures: The victims of the Orlando shooting Kimberley Morris Twitter/ ‏@katiezavadski

Both churches are vehemently opposed to homosexuality and have been classified as hate groups by the Southern Poverty Law Center, which tracks extremism in the United States.

The website of Faithful Word Baptist Church describes homosexuality as “a sin and an abomination which God punishes with the death penalty.”

“This network is not coming out of nowhere, it’s not like it’s one little church in one little place with some guy who liked to go to prostitutes,” said Heidi Beirich, a researcher at the law centre. “It’s a network of congregations across the country with this guy who preaches a — I don’t want to call it a theology because it is so hateful, but who preaches that gay people are destroying the country.”

Mr Romero and Mr Anderson were among a small group of extreme Christian conservatives who were widely criticised in 2016 for praising Omar Mateen, the gunman who killed 49 people that year at Pulse nightclub, a centre of gay night life in Orlando. Mateen said at the time he was acting in the name of the Isis.

More than 50 additional people were injured in the attack. In a sermon shortly after the shooting, Mr Romero said he hoped they would die, too.

In the sermon, which was posted to YouTube, Mr Romero told congregants that gay people were all paedophiles and he hoped the injured would die of their wounds “so that they don’t get any more opportunity to go out and hurt little children.”

“I’ll pray to God that God will finish the job that that man started,” he said, referring to Mateen. The video of the sermon has since been removed from YouTube.