A US teacher has been condemned after posts on his Facebook page called for people to vote for Donald Trump so Muslims would be “butchered”.

The publicly available posts on an account in the name of Dan Close, a history teacher and athletics coach at Dewey High School in Oklahoma, included a series of rants in which Islam was described as a “death cult” and same-sex marriage as “a sin against nature”.

One of the posts, which have since been deleted, was responding to a terror attack and allegedly said: “Another Islam attack. Happy Ramadan to everyone. Death cult.

"Vote for Clinton if you want to appease the dog pigs. Vote Trump if you want them butchered. Happy Ramadan to all infidels.”

Hillary Clinton was called a “pantsuited beast”, Barack Obama was the “Imam-in-chief” living in the “White Mosque”, and another post claimed Michelle Obama was not female.

America had “spit in the face of God, Jesus and the Laws of Nature” by legalising same-sex marriage and the “Gaystapo” were running the country, the posts added, according to Buzzfeed News.

The messages were sent several years ago and were public until complaints were made in November 2016.

A former pupil of Mr Close – who is a friend of his on Facebook and who wished to remain anonymous, said it had been clear that Mr Close was right-wing.

“I knew his political leaning and there was definitely a bias in that he made it very clear which political side he was on," he said.

He insisted Mr Close was a good teacher but had a “political fire” in him that was “definitely skewed towards the right”.

Donald Trump's most controversial quotes Show all 14 1 /14 Donald Trump's most controversial quotes Donald Trump's most controversial quotes On Isis: "Some of the candidates, they went in and didn’t know the air conditioner didn’t work and sweated like dogs, and they didn’t know the room was too big because they didn’t have anybody there. How are they going to beat ISIS?" Getty Donald Trump's most controversial quotes On immigration: "I will build a great wall — and nobody builds walls better than me, believe me —and I’ll build them very inexpensively. I will build a great, great wall on our southern border, and I will make Mexico pay for that wall. Mark my words." Reuters Donald Trump's most controversial quotes On Free Trade: "Free trade is terrible. Free trade can be wonderful if you have smart people. But we have stupid people." PAUL J. RICHARDS | AFP | Getty Images Donald Trump's most controversial quotes On Mexicans: "When Mexico sends its people, they’re not sending their best. They’re sending people that have lots of problems. They’re bringing drugs. They’re bringing crime. They’re rapists." Getty Donald Trump's most controversial quotes On China: "I just sold an apartment for $15 million to somebody from China. Am I supposed to dislike them?... I love China. The biggest bank in the world is from China. You know where their United States headquarters is located? In this building, in Trump Tower." Getty Images Donald Trump's most controversial quotes On work: "If you're interested in 'balancing' work and pleasure, stop trying to balance them. Instead make your work more pleasurable." AP Donald Trump's most controversial quotes On success: "What separates the winners from the losers is how a person reacts to each new twist of fate." Donald Trump's most controversial quotes On life: "Everything in life is luck." AFP Donald Trump's most controversial quotes On ambition: "You have to think anyway, so why not think big?" Getty Images Donald Trump's most controversial quotes On his opponents: "Bush is totally in favour of Common Core. I don't see how he can possibly get the nomination. He's weak on immigration. He's in favour of Common Core. How the hell can you vote for this guy? You just can't do it." Reuters Donald Trump's most controversial quotes On Obamacare: "You have to be hit by a tractor, literally, a tractor, to use it, because the deductibles are so high. It's virtually useless. And remember the $5 billion web site?... I have so many web sites, I have them all over the place. I hire people, they do a web site. It costs me $3." Getty Images Donald Trump's most controversial quotes On Barack Obama: "Obama is going to be out playing golf. He might be on one of my courses. I would invite him. I have the best courses in the world. I have one right next to the White House." PA Donald Trump's most controversial quotes On himself: "Love him or hate him, Trump is a man who is certain about what he wants and sets out to get it, no holds barred. Women find his power almost as much of a turn-on as his money." Getty Images Donald Trump's most controversial quotes On America: "The American Dream is dead. But if I get elected president I will bring it back bigger and better and stronger than ever before and we will make America great again." GETTY

The posts first came to light when a retired teacher from Oklahoma City, Paula Washington, reported them to the local public school system’s superintendent, Vince Vincent.

She told Buzzfeed: “I told him how objectionable it was. I told him how a teacher has an obligation to express facts — especially a history teacher, to teach facts without opinion.

“The vitriol and the complete hatred that he had shown on his Facebook page had not only been seen by his students, but students all over the country.

“Had it not been associated with his work, I would support his First Amendment rights, but I also know he represents the educational system for which he works, and I couldn’t mesh the two."

She said Mr Vincent had been “respectful” about the matter but regarded it as a freedom of speech issue.

Mr Vincent told The Independent the school did not wish to comment on the matter but did say they were “aware of the story” and were “continuing to investigate the situation”.