Three Brighton men pleaded not guilty today to charges of dealing heroin in Brighton and Revere, Suffolk prosecutors said.

The three men — Jean Carlos Arias Tejada, Enyer Osiel Martinez Avalos, and Rafael Maysonet-Pagan, all 24 — were arraigned in Chelsea District Court, with each of the men being charged with 13 counts of distribution of a Class A substance, two counts trafficking in a Class A substance, unlawful possession of ammunition, and unlawful possession of a firearm, according to Jake Wark, spokesman for the Suffolk district attorney’s office. Tejada and Avalos both also face additional charges of possessing a fraudulent Massachusetts identification card, Wark said in an e-mail.

The men were arrested Friday after a series of undercover buys, according to a statement from the district attorney’s office.

Advertisement - Continue Reading Below

The arrests came after State and Revere police executed search warrants at locations on North Beacon Street in Brighton and Thornton Street in Revere, and authorities recovered a kilogram of heroin, a firearm, ammunition, and counterfeit identification cards, prosecutors said.

Tejada and Avalos were both held on $75,000 bail and immigration detainers; Maysonet-Pagan was held on $25,000 cash bail, prosecutors said in a statement.