Trump judicial nominee Jeff Mateer, advocated debunked “conversion therapy” for LGBT people and called transgender children part of “Satan’s plan.”

A CNN investigation found that Trump’s nominee came under fire from LGBT groups back in 2015, while working as general counsel for a conservative organization known as the Liberty Institute.

According to CNN, the attorney discussed transgender children in a 2015 speech titled “The Church and Homosexuality.”

“In Colorado, a public school has been sued because a first grader and I forget the sex, she’s a girl who thinks she’s a boy or a boy who thinks she’s a girl, it’s probably that, a boy who thinks she’s a girl,” Mateer was quoted as saying. “And the school said, ‘Well, she’s not using the girl’s restroom.’ And so she has now sued to have a right to go in. Now, I submit to you, a parent of three children who are now young adults, a first grader really knows what their sexual identity? I mean it just really shows you how Satan’s plan is working and the destruction that’s going on.”

He call same-sex marriage “disgusting.”

“I’ve learned words I didn’t know. I mean, other than…my assistants here, have you ever heard the word ‘throuple’?” he opined. “‘Throuple’ so that’s three people coming together of different sexes, maybe mixed sexes. Them coming together. There are people who marry themselves. Somebody wanted to marry a tree. People marrying their pets. It’s just like — you know, you read the New Testament and you read about all the things and you think, ‘Oh, that’s not going on in our community.’ Oh yes it is. We’re back to that time where debauchery rules.”

That same year, the attorney complained about states banning so-called conversion therapy for LGBT people.

“That’s been outlawed in at least two states and then in some local areas. So they’re invading that area,” Mateer lamented.