Sex and the City actress Cynthia Nixon has lost in her bid to be the Democratic nominee for New York governor.
Ms Nixon fought her campaign as a left-wing challenger to the current governor, Andrew Cuomo.
With 93% of precincts reporting, Mr Cuomo had gained 65% of the vote to Ms Nixon's 35%.
Mr Cuomo has been the state's governor since 2011 and will face a general election in the state on 6 November.
The result comes at a time when left-leaning Democrats have sought to challenge their party's establishment.
In the wake of her defeat, Ms Nixon said on Twitter that she was "not discouraged" but "inspired" by the result, urging her supporters to continue their progressive campaigns.
Mr Cuomo had an incumbency advantage over Ms Nixon and was able to vastly outspend his opponent.
He gained a celebrity endorsement from rapper Nicki Minaj, who urged her followers on Twitter to vote for Mr Cuomo, saying he and his team "know how to work for the people to make NY even GREATER".