State Police on Wednesday announced the arrests of 22 people in a monthlong effort targeting “quality of life issues and street crimes” in Riverside, Flanders and Riverhead.

Nineteen men and three women aged 18 to 74, mostly from several East End communities, were charged with offenses ranging from criminal possession of a weapon to unlawful possession of marijuana as a result of the operation conducted with the help of Southampton Town Police and Riverhead Town Police.

“There has been an outcry from the community about drugs, weapons and other quality of life issues,” said Trooper Frank Bandiero of the State Police. “This was a cooperative police operation to rid the area of that and make the community a little safer.”

advertisement | advertise on newsday

Many of the 42 charges were drug-related, police said, including 13 involving marijuana and 11 charges of criminal possession of a controlled substance. Other offenses included driving while intoxicated, disorderly contact, tampering with evidence, resisting arrest and criminal possession of a weapon.

“Due to the success of the multiagency effort, all police departments will continue to combine intelligence and resources to apprehend more offenders,” State Police said.