Police arrested three men who smashed more than 40 headstones and spray-painted racial slurs on other graves at a Queens cemetery last summer, police said.

Bruno Camacho, 22, Mark Barrancos, 21, and Edward Evseev, 21, were arrested Monday and slapped with hate-crime charges and other counts for the Aug. 15 vandalism spree at the Cypress Hills Cemetery in Glendale.

The trio toppled 40 of the headstones and destroyed the marble statues adorning at least 15 mausoleums.

The men used pink and purple spray paint to write offensive phrases on many headstones that had Asian names on them, police said.

On one headstone engraved with the last name “CHEW,” the men wrote underneath, “This d–k yo.”

Other headstones that included all Asian writing were tagged with the phrases like “F–k Jackie Chan” and “Ching Chong.”

The men also wrote on other stones words like “N—er,” “I hate sand N—ers” and “F–k NYPD.”

Evseev, Barrancos and Camacho are charged with burglary as a hate crime, criminal mischief as a hate crime, cemetery desecration, aggravated harassment and criminal trespass.