The recent spate of murders attributed to the MS-13 gang on Long Island is no accident — but rather the result of a sick directive from higher-ups in El Salvador for bloodshed in the Empire State, law enforcement revealed Thursday.

MS-13 honchos in El Salvador have “implemented the ‘New York Program,’ which mandates an increase of violence and bloodshed in New York,” Nassau DA Madeline Singas revealed Thursday.

Singas made the chilling remarks at a press conference to announce the arrests of dozens of reputed MS-13 gang members as part of a 41-person indictment.

The defendants are responsible for 32 violent acts in Nassau, including eight attempted murders, she said.

MS-13 is suspected of being behind the brutal Long Island killings of four young men whose bodies were discovered in a wooded area in Central Islip in April. The gang is also believed to be behind the savage deaths of best friends Nisa Mickens, 15, and Kayla Cuevas, 16, around Brentwood in September.

Multiple incidents alleged in Thurday’s indictment involve handguns and machetes, the latter of which is MS-13’s weapon of choice, Singas said.

“MS-13 has terrorized communities, killed innocent people, and stolen the childhoods of the vulnerable young people they recruit to join their ranks,” Singas said. “We will be unrelenting in our efforts to stop MS-13 from recruiting in our schools and spilling blood in our streets.”

MS-13 has also been a target for President Donald Trump and US Attorney General Jeff Sessions, who have vowed to eradicate the violent group.

Additional reporting by Joe Parziale