An Episcopal diocese in central California voted Saturday to split with the national denomination over disagreements about the role of gays and lesbians in the church.

John-David Schofield, bishop of the Episcopal diocese of San Joaquin, speaks at Christ the King Community Episcopal Church in this photo taken  in November in Riverbank, Calif. John-David Schofield, bishop of the Episcopal diocese of San Joaquin, speaks at Christ the King Community Episcopal Church in this photo taken in November in Riverbank, Calif.
(Adrian Mendoza/Associated Press)

Clergy and lay members of the Episcopal Diocese of San Joaquin voted 173 to 22 at their annual convention to remove all references to the national church from the diocese's constitution.

The Fresno diocese has explored breaking ties with the American church since 2003, when Episcopalians consecrated the church's first openly gay bishop, V. Gene Robinson of New Hampshire. The resulting uproar throughout the world Anglican fellowship has moved the 77-million-member communion toward the brink of schism.

Spokeswoman Joan Gladstone said the Fresno-based congregation is the first full diocese to secede because of a conservative-liberal rift that began decades ago. The rift is now focused on whether the Bible condemns gay relationships, she said.

The diocese, in a later vote, accepted an invitation to join a conservative South American congregation of the Worldwide Anglican Communion.

The decision is almost certain to spark a court fight over control of the diocese's multimillion-dollar real estate holdings and other assets.

The Episcopal Church is the U.S. member of the global Anglican Communion.

The head of the U.S. denomination had warned Bishop John-David Schofield of the Fresno-based diocese against secession.

"I do not intend to threaten you, only to urge you to reconsider and draw back from this trajectory," Presiding Bishop Katharine Jefferts Schori, head of the U.S. denomination, wrote in a letter to Schofield earlier this week.

Schofield responded that the Episcopal Church "has isolated itself from the overwhelming majority of Christendom and more specifically from the Anglican Communion by denying biblical truth and walking apart from the historic faith and order."