A brothel owner and reality TV star has won his race in Nevada — even though he died last month.

Interested in Midterm Elections?

Add Midterm Elections as an interest to stay up to date on the latest Midterm Elections news, video, and analysis from ABC News.

Dennis Hof, who ran as a Republican, defeated Democrat Lesia Romanov on Tuesday in the race for the state’s 36th Assembly District, a heavily Republican district.

A Republican will be appointed to the seat by county officials, according to The Associated Press.

Hof, 72, was found dead by porn actor Ron Jeremy on Oct. 16 at the Love Ranch, one of the brothels Hof owned in Nevada.

PHOTO: Dennis Hof owner of the Moonlite Bunny Ranch attends Exxotica Day 1 at New Jersey Convention and Exposition Center on Nov. 13, 2015 in Edison, N.J.Bobby Bank/Getty Images, FILE
Dennis Hof owner of the “Moonlite Bunny Ranch” attends Exxotica Day 1 at New Jersey Convention and Exposition Center on Nov. 13, 2015 in Edison, N.J.

Hof joined the Republican Party after President Donald Trump was elected and mimicked the president’s tone in his own campaign, the Los Angeles Times reported.

Though Republican leaders in Nye County — where Hof was running — supported him, Nevada’s top Republicans did not, according to the newspaper.

Besides his notoriety as a brothel owner, Hof wrote a book called “The Art of the Pimp” and was seen on the HBO adult reality show “Cathouse,” which followed the lives of brothel workers.