Hillary Clinton will deliver the keynote speech at the opening day of the New York State Democratic Convention on Wednesday on Long Island, the party's committee has announced.

"New York has led the way in fighting back against the divisive, hateful agenda of the ultra-conservatives in Washington and worked to create a fairer, more inclusive state for all," the former Democratic nominee for president said in a statement. "Working together we will elect more Democrats at every level of government to advance our shared progressive vision of equality and opportunity, and build a brighter future for generations to come."

The state Democratic Party is scheduled to meet Wednesday and Thursday at Hofstra University on Long Island to nominate candidates for governor, attorney general, and other offices up for election this fall.

The state Republican Party, meanwhile, is slated to meet on the same days in Midtown at the Ziegfeld Ballroom, for its nomination gathering.

Clinton, who was also a senator for New York, will be at Hofstra University for the Democratic convention on the same day her old opponent, President Trump, is slated to come to New York for a fundraiser on Long Island. The president is not expected to visit either convention, however.

An insider said there were some discussions for Trump to visit the convention, but his visit would have been a "Secret Service nightmare," and that Dutchess County Executive Marc Molinaro, a fellow Republican who will be nominated for governor, did not want the president to come because Trump could overshadow getting the campaign off the ground.

A spokesman for Clinton said she will endorse Gov. Andrew Cuomo's bid for a third term. Cuomo served as federal housing secretary under President Bill Clinton and supported Hillary Clinton's 2016 presidential campaign. He faces a challenge from the left this year from actress and liberal activist Cynthia Nixon.