RICHLAND HILLS – Shahid Shafi will retain his role as vice-chairman of the Tarrant County Republican Party despite a push from a small faction of precinct chairs to remove him from his post because he's Muslim.

Shafi, a trauma surgeon and Southlake City Council member, said after the vote that the last several months had been hard on him and his family. But he said he holds no animosity toward people who backed the failed motion to recall him — and that he was proud to be an American and a Republican.

"As an immigrant to this great country, I am honored and privileged to receive the support of my fellow Republicans," Shafi told members of the press late Thursday. "We need to learn to trust each other so we can create a more perfect union everyday."

Shafi came to the U.S. in 1990 and became a naturalized citizen in 2009. The attacks on his religion, however, came shortly after Darl Easton, the Tarrant County GOP Chair, appointed Shafi to a leadership role within the county party in July. The formal motion to oust him failed in a 49-139 vote, said county party spokesman Mike Snyder.

The Texas Tribune thanks its sponsors. Become one .

Those who were in favor of Shafi's removal said he's unequipped to be vice-chairman because he doesn’t represent all Tarrant County Republicans due to his religion. They've also said Islamic ideologies run counter to the U.S. Constitution — an assertion many Texas GOP officials have called bigoted and Shafi himself has vehemently denied.

Following news that Shafi would retain his vice-chairman role, Snyder read a prepared statement from Easton which said the vote reaffirmed Tarrant Republicans' commitment to the state party platform and the U.S. Constitution.

"While tonight's vote brings an end to this unfortunate episode, it also demonstrates we are a Party that respects the right of those who disagree on an issue to have a seat at the table and their voices heard," Easton, one of Shafi's defenders, wrote. "Religious liberty won tonight, and while that makes a great day for the Republican Party of Tarrant County, that victory also serves notice that we have much work to do unifying our party."

Former Tarrant County precinct chair Sara Legvold did not vote on the motion to recall Shafi, but sat outside Thursday’s closed-door meeting wearing a burqa to “represent the Islamization of our county, our state and our country.”

“You already see it in the workplace where Muslims demand they’re able to wear their hijab and demand they get a prayer room,” she said. “When was the last time a Christian was allowed to have a separate place to say their prayers?"

Dorrie O'Brien, one of the precinct chairs leading the charge against Shafi, previously said her support for ousting him stems not from his religion, but whether he is connected “to Islamic terror groups,” the Fort Worth Star-Telegram reported.

The Texas Tribune thanks its sponsors. Become one .

The failed attempt to oust Shafi drew national attention as well as condemnation from some of the state's top Republicans, including Gov. Greg Abbott. Republican Land Commissioner George P. Bush saluted the vote in a tweet late Thursday. And in a prepared statement after the measure failed, Republican Party of Texas Chairman James Dickey said the state party platform clearly supports religious freedom and non-discrimination.

"We look forward to working with all Republicans to fight for lower taxes, quality education, and to continue our booming economy through Republican leadership," Dickey said.

Though the movement to reconsider Shafi’s appointment was afoot well ahead of last year’s midterm elections, Thursday’s vote comes just months after Tarrant County — considered the most conservative urban county in the country — narrowly flipped in favor of Texas Democrats’ star senatorial candidate, Beto O’Rourke. In Tarrant County and the surrounding Dallas-Fort Worth region, several Texas Senate and House seats went to Democrats, including the district previously held by conservative state Sen. Konni Burton of Colleyville.

Tripp Bryant, a State Republican Executive Committee representative from Senate District 22 that includes part of Tarrant, said it was “appalling” members of the Tarrant County party were being divisive over someone's religion months after Republicans in the area made nail-biters of races that had once been safe wins. He noted that Republicans U.S. Sen. Ted Cruz and U.S. Rep. Ron Wright lost in the county.

“In my personal opinion, they need to pull their heads out of their fourth point of contact and they need to focus on winning elections and stop pointing the finger at Muslims," Bryant said.

John Seidenstein, a precinct chair nominee, called Thursday's motion "bullshit."

"I'm a Jewish precinct chair," Seidenstein said, "does this mean I'm next?"

Legvold, meanwhile, complained that Shafi's opponents had been vilified.

The Texas Tribune thanks its sponsors. Become one .

"They’ve said nothing but horrible things about us — that we’re bigots and Islamophobes and white supremacists — when we’re just patriots who care for our country," she said.