NEW YORK — Federal and New York state officials say they will hold drills in the weeks leading up to primary elections for the US House and Senate to prevent hacking and other cyber-threats to voting systems, officials said Wednesday.

The exercises, which will begin in Albany on Thursday, come amid heightened scrutiny of the nation’s voting systems following Russian hacking in the 2016 US presidential election.

“The people of New York deserve an open, transparent election process they can trust and these exercises are an integral part of restoring voter confidence and the integrity of our election infrastructure,” Gov. Andrew Cuomo said in a statement.

Russian hackers probed systems in 21 states during the presidential race, but only a small number of networks were compromised, the US Department of Homeland Security said last year. There is no evidence any vote was altered.

New York elections officials have said the state was not among those with compromised systems.

The Department of Homeland Security and New York’s State Board of Elections will host the cybersecurity meetings in six New York regions through June 18, about a week ahead of the state’s federal primary elections. Other New York officials, as well as local government workers and state police, will attend the closed-door meetings.

Getty Images

The exercises involve simulations of potential voting system attacks, including so-called ransomware computer infections and social media manipulation — in which false information aimed at skewing elections is posted online.

New York will be the first in the nation to hold such meetings, Cuomo’s office said.

The state’s cybersecurity drills are among the early phases of a multi-pronged elections security program approved May 3.

The broader plan will rely on $5 million in state funds and up to roughly $19.5 million in federal grants made available in response to Russian election interference.

Information collected in the exercises will be used to help identify and respond to vulnerabilities and risks surrounding the state’s voting systems, Cuomo’s statement said.