The body of a teenage boy murdered last year by...

An MS-13 gang member was busted for killing a teenage boy whose remains were discovered this week in a wooded area of Long Island.

Carlos Benitez-Hernandez, 21, of Uniondale, was charged with second-degree murder and ordered held without bail at his Thursday arraignment.

The slaying occurred in August of last year and prosecutors believe Benitez-Hernandez used a machete in the attack.

Hernandez “did intentionally cause the death of the victim by stabbing him numerous times with a sharp cutting instrument believed to be a machete,” according to his criminal complaint.

On Wednesday afternoon, the victim’s corpse was found buried in a shallow grave, in a heavily wooded area behind Kellenberg Memorial High School in East Meadow, police said.

Cops executed an intensive search after receiving a tip about the body’s location and the MS-13 connection, officials said.

Police believe at least five other members of the notorious gang were involved in the teen’s death, Det. Lt. Stephen Fitzpatrick said at a Thursday press conference, according to Newsday.

The identity of the victim and cause of death has not yet been released, but “we believe we know who it is,” Fitzpatrick told reporters.

The gang likely targeted the teen because of its “displeasure with his actions,” the commanding officer added, without elaborating.

Benitez-Hernandez, whose rap sheet includes busts for gang assault, weapons charges and victim intimidation — was out on parole at the time of the slaying but in federal custody when he was arrested, Fitzpatrick said.

He pleaded not guilty and was represented by Nassau County’s Legal Aid Society during his arraignment at First District Court in Hempstead. He will reappear in court on Sept. 4.