NEWPORT, N.H. — When the New Hampshire Association of Chiefs of Police was looking to raise money for an annual cadet training program, it sold raffle tickets for $30 apiece. The drawing was scheduled for May, but by Jan. 12 all 1,000 tickets had been sold.

The prize: 31 guns, with a new winner drawn each day of the month.

The fund-raiser, sponsored by the association in partnership with two New Hampshire gun makers, Sig Sauer and Sturm, Ruger & Company, has prompted a chorus of protests from lawmakers and gun-control advocates questioning why the police are giving away guns, even in the name of a good cause.

Some in law enforcement have also raised questions. When Chief Nicholas J. Giaccone Jr. of Hanover pulled up information about the raffle on the Internet, he said, he was flabbergasted.

“I looked at the first weapon and Googled that one,” said Chief Giaccone, who recalled using an expletive when he pulled up information about the Ruger SR-556C, a semiautomatic weapon. “It’s an assault rifle.”