You can’t keep a good woman down. That’s what Indian-origin American, Nikki Haley, is proving.

Accusations of infidelity couldn’t sink Nikki Haley. An alliance with the state of South Carolina’s disgraced governor couldn’t do it either. She’s an Indian-American in a state not known for embracing women and minority candidates? No problem.

Just months ago, Haley, 38, was an obscure state lawmaker. Now she’s the odds-on favorite to become the South Carolina’s first female governor and America’s first Sikh-raised governor, helped by an anti-establishment message that has endeared her to conservatives.

Along the way, she has drawn comparisons to her party’s most public female personality, 2008 vice presidential candidate and former Alaska Gov. Sarah Palin, who endorsed her in May.

“She has what people had hoped Sarah Palin had had,” said Kendra Stewart, a College of Charleston political scientist. “I think people felt like Sarah Palin was lacking the substance but Nikki Haley actually has that substance.”

Haley almost won last week’s primary outright with 49 percent of the vote, but because she didn’t get more than half she faces a runoff Tuesday against second place finisher and U.S. Rep. Gresham Barrett.

Barrett, who got 22 percent of the vote, isn’t going down without a fight. He has questioned Haley’s record and run ads emphasizing he is a Christian family man, a clear swipe at Haley, who was raised a Sikh, baptized a Methodist and had marriage ceremonies in both faiths. Her most vocal critic, Lt. Gov. Andre Bauer, finished last in the four-way primary and has endorsed Barrett.

But conservatives are rallying around Haley, who has called for term limits, smarter spending, and more transparency in how taxpayer money is handled.

Haley is set to appear Friday with former Massachusetts Gov. and Republican presidential candidate Mitt Romney and his wife, Ann, who has battled multiple sclerosis and other health problems and doesn’t campaign frequently.

Haley will also be joined on the campaign trail by Jenny Sanford, ex-wife of Gov. Mark Sanford, who became hugely popular here after her husband disappeared from the state last summer and returned to confess an affair with an Argentine woman.

But Haley has also made enemies, particularly in the state’s Republican establishment. She was once a strong ally of Mark Sanford, which made her something among Republicans. She riled leaders in 2008 by bucking their resistance to restrictions on payday lending companies and pushing for more recorded votes.

She toured the state with Sanford to highlight that issue, cementing her reputation as someone who rejects the status quo. She also stood with the governor last year as he refused to take federal stimulus money, another stance unpopular with legislators, though she distanced herself from him after he confessed his affair.

Haley is no stranger to difficult races. She was elected in 2004 in a bid prompted by frustration with taxes and regulation that developed while keeping the books for her family’s retail clothing business.

“My parents always said, ‘Don’t complain about it, do something about it,”‘ Haley said. A lawmaker who was supposed to retire changed his mind and she ended up in a tough runoff, winning even though an opponent sent out fliers that stressed her foreign-sounding maiden name, Randwaha.

More recently, state Sen. Jake Knotts was reprimanded by Republican leaders earlier this month after he called Haley and President Barack Obama a “raghead,” saying: “We’ve got a raghead in Washington, we don’t need a raghead in the Statehouse.”

But rather than trying to downplay her background, Haley is touting it as she takes on what she calls the state’s “good ol’ boy” system. South Carolina ranks 50th in the U.S. for the percentage of women in the state legislature, and there are none in he Senate, the country’s only all-male chamber.

Haley grew up in rural Bamberg County, her mother teaching middle-school social studies and her father – who wears a traditional Sikh headdress – working as a professor of biology at a local, historically black college.

At 5, Haley recalls being entered with her sister in the Little Miss Bamberg Pageant, which had a separate contest for the county’s predominantly black populace. The girls were disqualified because organizers didn’t know which pageant they should be in.

“I grew up knowing that we were different,” she said. “But it’s also the reason why I think that I focused so much on trying to find the similarities with people as opposed to the differences. I think there was a little bit of a survival mode there.”

Knotts’ ethnic slur wasn’t the only ugly turn in Haley’s campaign for the Republican nomination. Two men – one a political blogger, the other a lobbyist from a rival political campaign – claim to have had inappropriate physical relationships with her. Neither has offered proof. The married mother of two vehemently denies their claims.

Voter Erin Croft, 35, a small business owner, said her support for Haley is partly a testament to how she has handled the race.

“Dirty politics didn’t get the best of her,” Croft said.

“Honestly, it made me like her more.”

If Haley wins the Republican nomination Tuesday in this heavily Republican state, she’s likely to beat the Democratic candidate, state Sen. Vincent Sheheen, in November.

Beyond that, a possible run for the White House isn’t out of the question down the road, said Dante Scala, a University of New Hampshire political scientist: “If she wins the nomination; wins the governorship she’ll certainly be one to watch for 2016.”