An American university has rejected $3m (£2.3m) funding from a Christian organisation that demanded it shut down an LGBT students' group.

Samford University, a Christian institution founded by Alabama Baptists, declined a donation offered by state churches on the condition the group was stopped from forming.

Earlier this year, students applied for permission to form Samford Together to provide "a forum for students who want to discuss topics relating to sexual orientation and gender identity...[in] an open-minded and accepting environment".

The university's faculty approved the group in April, although it has yet to be formally recognised by Samford's board of trustees.

Following the faculty's vote, Alabama Baptist Convention - an association of the state's churches - said it was "saddened" that the university had "voted to affirm the recognition of a student group that identifies with values contrary to biblical teachings on sexuality".

"We strongly believe that the Old Testament and New Testament each speak unequivocally against homosexuality. When addressing same-gender sexual relationships, the Bible without exception never affirms such behaviour as an approved lifestyle," said John Thweatt, the convention's president, and Rick Lance, executive director of its board of missions, in a joint statement.

They later warned they would withdraw the $3m funding offered if the board of trustees approved Samford Together.

In response, the university has voluntarily waived the donation, which it had been due to receive on 1 January. The decision to reject the money was approved by the university's executive committee, it said in statement.

“I believe the action taken by our trustees is something that both parties have been anticipating for some time and will serve the best interests of both Samford and the Alabama Baptist State Convention,” said university president Andrew Westmoreland.

"Our longstanding educational and ministry relationships with Alabama Baptists have always been more significant than money, and these relationships will continue and flourish.”

Dr Westmoreland added he wanted the university to address topics related to human sexuality and "other important issues at the intersection of Christian understanding and cultural reality".

He stopped short of offering formal recognition to Samford Together, but said the university would "work to accomplish each of the group’s worthy goals".

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

Following the announcement, the convention reiterated its opposition to the student group.

"The matter of recognition of the student organisation is in the hands of the leadership of Samford University. They know our concerns about the organisation as expressed in person and in print," said Mr Thweatt.