BROOKLYN - Mayor Michael Bloomberg says two Brooklyn men have been arrested in a sting operation for selling illegal guns purchased in Florida.

Officials say the arrests were the result of a three-month investigation that involved the suspects selling dozens of illegal firearms to undercover police officers.

Brooklyn prosecutors say the men are accused of selling or possessing 46 guns, including 28 semiautomatic pistols, six revolvers, and three sawed-off shotguns.

Police Commissioner Ray Kelly says in one transaction, an undercover officer bought four 9 mm handguns and an assault rifle.

AP wire reports contributed to this article.