Scott Esk, a Republican Tea Party candidate in Oklahoma, got into a debate on Facebook last summer in which he advocated killing homosexuals.

“I think we would be totally in the right to do it,” Esk wrote in comments uncovered by Oklahoma journalist Rob Morris. “That goes against some parts of libertarianism, I realize, and I’m largely libertarian, but ignoring as a nation things that are worthy of death is very remiss.”

When pressed, Esk added: "I never said I would author legislation to put homosexuals to death, but I didn’t have a problem with it."

Esk is running for the state's House of Representatives. The primary is scheduled for June 24.

When contacted by Morris, who runs the news outlet Moore Daily, Esk didn't deny making the comments or back down from the rhetoric.

"That was done in the Old Testament under a law that came directly from God and in that time there it was totally just. It came directly from God," Esk said, adding: "I have no plans to reinstitute that in Oklahoma law. I do have some very huge moral misgivings about those kinds of sins."

The Raw Story notes that in other Facebook posts, Esk has said that laws punishing gays should be instituted locally so people "can decide for themselves whether they want to live in a particular community based in part on how things like this are dealt with.”

The comments have quickly gone viral, drawing attention to other parts of his platform... and those views aren't any less extreme.

Esk wants to "punish abortionists severely for their committing of murder" and punish federal bureaucrats who try to enact the provisions of the Patient Protection and Affordable Care Act.

In addition, he's against all forms of gun licenses, wants to cut education funding "which I don’t consider a proper function of government" and believes "the EPA, FDA, OSHA, etc." "have no legitimate reason for existing, since they’re unConstitutional."

Esk wants to make divorce more difficult as well. He's calling for jury trials for divorce cases and an end to no-fault proceedings.

"I also don’t buy into the notion that it’s unfair to make somebody stay in a marriage he’s unhappy with," Esk wrote.

Esk was married for 15 years until "frivolous divorce raised its ugly head in the Esk home," he notes on his campaign website. (You can see him speak more about divorce in the video below.)

Esk's Facebook page contains other stunners, including a December 2013 post written shortly after Nelson Mandela's death in which he called the former South African president a "communist thug" and a "low-life."

And in November 2013, he wrote of calling 911 to report "a large group of Mexicans" gathered at an Oklahoma City mall geared toward Latino shoppers because he "suspected that many of them were guilty of being here illegally."

His long rant notes that police didn't respond to his emergency call.

Esk was a computer programmer in the state's Department of Public Safety, but has "since gravitated toward courier work." He also owns a window-washing business.