A Republican politician from Kansas has apologised and removed his name from a bill characterising same-sex unions as “parody marriage” after his daughter publicly shamed him for sponsoring it in an open letter.

Christel Highland, the daughter of state representative Ron Highland, wrote the letter to her father on Facebook this week, asking him why he would “openly attempt at policy that elevates hate and hurts my family or friends”.

Soon after, the legislator admitted endorsing the bill “was a mistake”.

In a statement to the Wamego Times, according to the Mercury, Mr Highland said: “The bill that I should not have signed on to cosponsor contained some hateful language which I do not condone, and it is against our Lord’s command to love our neighbours.

“I have asked for my name to be removed from the bill. The process for doing so is in motion.”

Thousands march against Donald Trump in LGBT rights parade Show all 8 1 /8 Thousands march against Donald Trump in LGBT rights parade Thousands march against Donald Trump in LGBT rights parade A marcher hold a sign that reads "Love is Love is Love" on the National Mall with the Washington Monument in the background during the Equality March for Unity and Pride in Washington AP Thousands march against Donald Trump in LGBT rights parade Marchers unfurl a huge rainbow flag as they prepare to march in the Equality March for Unity and Pride in Washington AP Thousands march against Donald Trump in LGBT rights parade Marchers gather to hear speakers at the end of the Los Angeles LGBTQ #ResistMarch AP Thousands march against Donald Trump in LGBT rights parade Gil Mendez, of San Francisco, holds a sign to honor the victims of the shooting at the Pulse Nightclub in Orlando as he marches during the Equality March for Unity and Pride in Washington AP Thousands march against Donald Trump in LGBT rights parade An demonstrator looks on as LGBT members and their supporters take part of the Equality March for Unity AFP/Getty Images Thousands march against Donald Trump in LGBT rights parade A marcher listens to speakers at the end of the Los Angeles LGBTQ #ResistMarch AP Thousands march against Donald Trump in LGBT rights parade LGBT members and their supporters take part of the Equality March for Unity AFP/Getty Images Thousands march against Donald Trump in LGBT rights parade A marcher mugs for the camera during the Los Angeles LGBTQ #ResistMarch AP

Mr Highland could not be reached for comment.

The recent controversy surrounds House Bill 2320 – which aims to have same-sex marriages deemed “parody marriages” and allow the state to deny them.

The bill defines “parody marriages” as: “’Parody marriage’ means any form of alleged marriage that does not involve a man and a woman.

“The term ‘parody marriage’ refers to a variety of so-called marriages that do not involve a man and a woman that amount to doctrines that are inseparably linked to the religion of secular humanism.

“The term ‘parody marriage’ refers to so-called marriages between more than two people, persons of the same sex, a person and an animal, or a person and an object.”

The bill appears to be seeking to stop same-sex unions.

The bill reads: “The state shall no longer be in the parody marriage funding and endorsement business and shall disentangle itself from the lesbian, gay, bisexual, transgender and questioning (LGBTQ) secular humanist church pursuant to this section and the establishment clause of the 1st amendment of the constitution of the United States.

“The state shall not, through any government action create, enforce or respect any LGBTQ or any other secular humanist policy whether directly or symbolically.

“The state shall maintain the separation of church and state, which includes separating itself from the non-institutionalised religions such as secular humanism, expressive individualism and postmodern western individualistic moral relativism.”

Christel Highland describes herself on Facebook as “a proud member of Kansas City’s LGBTQ+ community, a mother, a partner to the love of my life, an artist active in my creative community, and a hard-working businessperson”.

She said in a post that she was “personally offended by the egregious nature of Kansas Representatives’ proposed legislation, most notably, my father’s”.

She told her father in the letter on Wednesday that “this moment presents an opportunity for you to set a principled example to your colleagues and constituents”.

“Your most sacred job as an elected official is to serve and protect people,” she wrote. “Your God did not elect you, living, breathing humans beings did. Further isolating the marginalised among the population you serve is far from your duty.

“Hate has no place in public policy. I respectfully request an apology on behalf on my family and beloved friends that this cruel attempt at legislation impacts – viable or not – and I beg that you show yourself to be the honourable man I’ve always known you to be.

“Ultimately, what is right can never be something that hurts another. You taught me that.”

“I love you, I always will, in spite of your flaws,” Christel Highland told her father. Then she added: “I cannot, however, condone your cruel actions. Shame on you.”

Christel Highland said in a statement on Saturday to the Washington Post that she wrote the letter “because I had friends in Kansas whom I knew were reeling from yet another attempt to legislate hate”.

“I wrote that letter from a place of exhaustion as a result of our divisive political climate,” she said.

Support free-thinking journalism and attend Independent events

“The overwhelmingly positive response to my message shows that I am not alone in my longing for kindness, respect, and acceptance to return to our policy-making process.”

Following her father’s public apology, she said that she was proud of him “for setting an excellent example”.

“It took strength to do what my father did, and I’m proud of him for setting an excellent example to his colleagues and constituents by removing his co-sponsorship from HB 2320,” she said in the statement.

“I think this situation is an example of what is possible if we work together towards good with love in our hearts.

“I can only hope that this is a step in a positive direction where we work to make the pursuit of happiness easier for one another irrespective of birthplace, race, beliefs, or orientation.”