ALBANY -- Detectives made a second arrest last week after an investigation into the illegal trafficking of guns, police said.

Police said Ammar Elordi, 21, and Ramsey Moore, 30, were selling firearms in the city and Elordi was also dealing ecstasy and cocaine, police said. The men were identified after separate investigations by the department's Community Response Unit.

Moore was arrested on Aug. 19 during a traffic stop, police said, during which three handguns were recovered. Elordi was arrested on Oct. 21 at his home, where police said detectives found cocaine and several digital scales.

Police said Elordi sold five guns, including four handguns, throughout the city from August to September.

Moore, of 144 Franklin St., was charged with two counts of second-degree criminal possession of a weapon and two counts of third-degree criminal sale of a firearm. Police said he is at Albany County Jail.

Elordi, of 306 Mountain St., was charged with three counts of second-degree criminal possession of a weapon, four counts of third-degree criminal sale of a firearm, third-degree criminal sale of narcotics, third-degree grand larceny, fourth-degree criminal possession of narcotics and second-degree criminal use of drug paraphernalia. He was arraigned Friday in Albany City Court and was sent to Albany County Jail.

Police said out of seven handguns recovered, at least one was reported stolen and several had their serial numbers scratched off.