What do you think? Leave a respectful comment.

WATCH: Andrew Cuomo gives farewell address after resignation as New York governor

ALBANY, N.Y. (AP) — Andrew Cuomo defended his record over a decade as New York’s governor and portrayed himself as the victim of a “media frenzy” Monday as he prepared for a midnight power transfer that will make Lt. Gov. Kathy Hochul the state’s first female governor.

Watch Cuomo’s remarks in the player above.

Cuomo, a Democrat, was set to end his term at 11:59 p.m., just under two weeks after he announced he would resign rather than face a likely impeachment battle over sexual harassment allegations.

Hochul was scheduled be sworn in just after midnight by the state’s chief judge, Janet DiFiore, in a brief, private ceremony.

In a pre-recorded farewell address released at noon, Cuomo boasted of making government effective in his years in office, cited his work battling the COVID-19 pandemic and struck a defiant tone on the harassment allegations.

He said the report that triggered his resignation — a scathing account of what Attorney General Letitia James said was sexual harassment or inappropriate touching of 11 women — as “designed to be a political firecracker on an explosive topic, and it did work,” Cuomo said. “There was a political and media stampede.”

But he said prolonging his fight in office “could only cause governmental paralysis and that is just not an option for you and not an option for the state, especially now.”

Some critics jumped on Cuomo’s last remarks as self-serving.

Assemblymember Yuh-Line Niou, a fellow Democrat, tweeted that the governor had many opportunities to improve as a leader and “Chose himself every time. Goodbye, Governor Cuomo.”

Kathy Hochul

The switch in leadership was happening in the aftermath of Tropical Storm Henri, which narrowly missed Long Island on Sunday but dumped rain over parts of the Catskill Mountains and Hudson River Valley.

The storm drew Cuomo back out into public view over the weekend, albeit briefly. He gave two televised briefings — warning New Yorkers to take the storm seriously with the same mix of scolding and reassurance that once made his daily COVID-19 briefings popular.

Cuomo’s top aide, Melissa DeRosa, released a statement saying he was exploring his options for his post-gubernatorial life but had “no interest in running for office again.”

Hochul will inherit immense challenges as she takes over an administration facing criticism for inaction in Cuomo’s distracted final months in office. For one, COVID-19 has refused to abate.

Hochul, also a Democrat, announced the planned appointments Monday of two top aides: Karen Persichilli Keogh will become Secretary to the Governor and Elizabeth Fine will be Hochul’s chief legal counselor.

She plans to keep on Cuomo-era employees for 45 days to allow her time to interview new hires, but said she will not keep anyone found to have behaved unethically. At least 35 employees in the governor’s office have left since February, according to staff rosters.

Hochul, who said she didn’t work closely with Cuomo and wasn’t aware of the harassment allegations before they became public, has vowed no one will ever call her workplace “toxic.”

“I have a different approach to governing,” Hochul said Wednesday in Queens, adding, “I get the job done because I don’t have time for distractions, particularly coming into this position.”

Cuomo’s resignation won’t end his legal problems.

An aide who said Cuomo groped her breast and has since filed a complaint with the Albany County Sheriff’s Office. Separately, Cuomo was facing a legislative investigation into whether he misled the public about COVID-19 deaths in nursing homes to protect his reputation as a pandemic leader and improperly got help from state employees in writing a pandemic book that may net him $5 million.

Hochul has already said she plans to run for a full four-year term next year. She’ll do so as the state Democratic Party grapples with an internal struggle between moderate and liberal New Yorkers.

Hochul, who once represented a conservative Western New York district in Congress for a year and has a reputation as a moderate, is expected to pick a left-leaning state lawmaker from New York City as her lieutenant governor.

State Democratic Party Chair Jay Jacobs praised Hochul as “formidable.”

“She’s very experienced and I think she’ll be a refreshing and exciting new governor,” he said.

In his farewell remarks, Cuomo touted himself as a bulwark against his party’s leftwing faction that he said wants to “defund the police” and “demonize businesses.” He also pointed to achievements including New York’s legalization of same sex marriage and hiking the minimum wage to $15.