Advance file photoRayshawn Moreno claims he was abandoned in a marsh by two police officers.

A grand jury has indicted two cops for dumping a teen from the Mariners Harbor section of Staten Island in a remote West Shore marshland over an egg-tossing incident Halloween night.

Officers Thomas Elliassen, 28, and Richard Danese, 29, both of Great Kills, were charged in a 33-count indictment with handcuffing 14-year-old Rayshawn Moreno, putting him in the back seat of a police car, and stranding the teen at a spot on River Road next to railroad tracks surrounded by marshland and fields of weeds.

Elliassen and Danese were each charged with unlawful imprisonment in the first degree, a Class E felony, and a misdemeanor count of endangering the welfare of a child, law enforcement sources said.

The remaining 31 counts in the indictment are sealed.

The officers were originally charged with a misdemeanor count of unlawful imprisonment. The current charges are more severe and carry a penalty of up to four years in prison.