Gov. Andrew Cuomo has secured a third term in office, becoming the first governor to do since George Pataki in 2006.

Cuomo declared victory in a speech that targeted President Donald Trump on several occasions. 

"I am humbled by the support of New Yorkers. I’m gratified by their trust. I will work everyday to vindicate the confidence the people have put in me," Cuomo said in his victory speech.

Cuomo held back Republican challenger Marc Molinaro, as well as third-party candidates Larry Sharpe, Howie Hawkins and Stephanie Miner.

The Democrat made a final push Tuesday, telling constituents to vote based on his record for the past eight years.

Cuomo also cast the results a vindication of his liberal vision for the state.

"We understand in New York that being progressive isn’t a label or a symbol but means getting the job done," Cuomo said.

Cuomo ran his re-election bid in large part as a counterweight to President Trump, pledging to oppose his administration’s policies and blasting his rhetoric.

"New York is not buying what President Trump is selling. We know his type too well," he said.

Cuomo has been named a potential White House contender against Trump in 2020 but he has insisted he’s focused on his job as governor.

James Looks to Fix AG Office’s Sullied Image

Letitia James defeated Keith Wofford in an open race for state attorney general.

The current New York City advocate will take over for Barbara Underwood, the acting attorney general, who declined to run for a full term after replacing Eric Schneiderman in the spring. Schneiderman, thought to be a front-runner for a re-election bid of his own, resigned after allegations of sexual harassment surfaced.

James had beat out a crowded Democratic field in September's primary, which included Hudson Valley Rep. Sean Patrick Maloney and former gubernatorial candidate Zephyr Teachout.

DiNapoli Continues as Comptroller

Thomas DiNapoli won a third full term as the state’s top financial officer against Republican Jonathan Trichter.

The race between the two men focused on President Donald Trump, the performance of the state's pension funds and sexual harassment settlements.

DiNapoli first assumed office in 2007, when he was elected by the state legislature amid a scandal.

Spectrum News is dedicated to helping you stay informed. This Election Day, we’ve opened our live stream so you can access our in-depth coverage.  Click here to view.