NEW YORK --Competing on their home turf, Republican Donald Trump and Democrat Hillary Clinton aimed to emerge victorious from Tuesday's primaries in New York, contests that offer big delegate hauls and an opportunity for the front-runners to push closer to their parties' nominations.
Even before the New York results were in, Clinton's campaign was declaring the year's Democratic race virtually over and warning rival Bernie Sanders that he risks damaging the eventual nominee if he keeps up harsh criticism of the former secretary of state.
Clinton campaign manager Robby Mook said Sanders faces a "close to impossible path to the nomination" and predicted New York would result in Clinton taking "an important step to the nomination." Sanders needs to win 68 percent of the remaining delegates if he hopes to clinch the Democratic nomination.
The lead-up to Tuesday's voting created surreal scenes in New York, a state that hadn't seen competitive primaries in decades. Candidates blanketed every corner of the state, from Manhattan and the surrounding boroughs to working class enclaves in Buffalo and Syracuse.
Trump and Clinton were hoping to win in part on the strength of their local ties. Clinton was twice elected senator from New York, while Trump was born in Queens and lives in a building bearing his name in Manhattan.
"We love this city," Trump said Monday in remarks to reporters in the lobby of Trump Tower. "You look at the other folks that are running, they couldn't care less about New York."
For Trump, New York is an opportunity to rebound from a trying stretch for his campaign - and with an exclamation point. The biggest question was whether he would capture more than 50 percent of the vote statewide, which would put him in strong position to win all of the 95 GOP delegates.
Trump closed his New York campaigning with an evening rally in Buffalo, where thousands packed the city's hockey arena to catch a glimpse of the billionaire businessman.
A big win for Trump is crucial if he hopes to clinch the nomination before the party's convention in July. If the race isn't settled by then, he faces a very real prospect of losing to Ted Cruz, whose campaign is mastering the complicated process of lining up individual delegates who could shift their support to the Texas senator after the first round of convention balloting.
Cruz, who infamously panned Trump's "New York values" earlier in the primary, was bracing for a tough showing. He was already looking ahead on the primary calendar, holding events Tuesday in Pennsylvania, which votes next week.
Clinton spent her final hours of campaigning in New York trying to drive up turnout among women and minorities, her most ardent supporters.
On Tuesday morning, Clinton and her husband, former President Bill Clinton, cast their votes at a local polling place in their adopted home town of Chappaqua.
"I love New York and this has been a joy during the last two weeks to be here," Clinton said.
Clinton's campaign has cast New York as a make-or-break moment for the Democratic race. A loss here would be a devastating political blow. But a big win would bolster her delegate lead over Sanders and put her closer to becoming the first woman nominated for president by a major political party.
Sanders has stayed stubbornly close, rattling off a string of wins in recent primaries and caucuses. But unless he can topple Clinton in a state like New York, he faces increasingly limited opportunities. While polling shows Clinton with a comfortable lead in New York, Sanders held out hope for a closer race.
"This is a campaign on the move," Sanders shouted to a crowd of thousands gathered along the waterfront in Queens. "This is a movement getting the establishment very, very nervous."
Among Democrats, Clinton has 1,758 delegates to Sanders' 1,076. Those totals include both pledged delegates from primaries and caucuses and superdelegates, the party insiders who can back the candidate of their choice regardless of how their state votes. It takes 2,383 to win the Democratic nomination.
Trump leads the GOP race with 756 delegates, ahead of Cruz with 559 and Kasich with 144. Securing the GOP nomination requires 1,237.
AP writers Lisa Lerer, Julie Bykowicz and Steve Peoples contributed to this report.