Cite as Sampson v. City of Lynn, 405 Mass. 29 (1989) Stanley M. SAMPSON, administrator [footnote 1], v. CITY OF LYNN et al. [footnote 2] Supreme Judicial Court of Massachusetts, Suffolk. Argued Feb. 6, 1989. Decided May 4, 1989. Theodore J. Dennis, Boston, for plaintiff. Charles M. Burnim, Marblehead, (Nicholas Curuby, City Sol., with him) for the City of Lynn. Before WILKINS, LIACOS, ABRAMS, NOLAN and LYNCH, JJ. LIACOS, Justice. The plaintiff brought an action in the Superior Court alleging, in count 2 of the amended complaint, that the city of Lynn (city) was negligent in issuing a license to possess a firearm and that this negligence I proximately caused the death of S. Michael Sampson (decedent). The city moved for judgment on the, pleadings under Mass.R.Civ.P. 12(c) and (h)(2), 865 Mass. 754 (1974). A judge in the Superior Court allowed this motion,, and judgment was entered for the city. We affirm the judgment. "The effect of a motion for judgment on the pleadings, is 'to challenge the legal sufficiency of the complaint' Burlington v. District Attorney for the N. Dist, 381 Mass. 717, 717-718, 412 N.E.2d 331 (1980).... 'For purposes of the court's consideration of the [rule 12(c)] motion, all of the well pleaded factual allegations in the adversary's pleadings are assumed to be true and all contravening assertions in the movant's pleadings are taken to be false.' 6 C.A. Wright,& A.R. Miller, Federal Practice and Procedure section 1368, at 691 (1969)." Minaya v. Massachusetts Credit Union Share Ins. Corp., 392 Mass. 904, 905, 467 N.E.2d 874 (1984). Pursuant to this standard, we summarize the facts alleged in the complaint. On October 7, 1981, the chief of police of Lynn (chief) issued a gun permit to Joseph A. DeCicco. In his application for the per- mit, DeCicco had stated falsely that he was a resident of Lynn, when in fact he was a resident of the town of Winthrop. The complaint also alleges that DeCicco "was a disreputable person, was unfit, improper nd a person not competent to [carry] a gun." Agents and employees of the city did not investigate the truth of DeCicco's statement regarding his residence; nor did they determine whether DeCicco was a fit person to carry a gun. They made no inquiry of any official in Winthrop, where DeCicco was known to be an unfit person. On September 6, 1982, the decedent was a guest at a wedding, reception at a hotel in Peabody. DeCicco was also present, and he had in his possession a Walther handgun. DeCicco negligently caused the gun to fire, and a bullet entered the decedent's brain. The decedent died on September 11, 1982. The plaintiff claims that the chief, and hence the city, owed the decedent a "special duty," thus making the public duty doctrine inapplicable. We disagree. " [I]n the absence of a special duty owed to the [decedent], different from that owed to the public at large," an action for negligently issuing a gun permit cannot be maintained. Dinsky v. Framingham, 386 Mass. 801, 810, 438 N.E.2d 51 (1982). We conclude that, based on the allegations in the complaint, the city cannot be deemed to have owed the decedent a "special duty." The plaintiff has not pointed us to any statutes or ordinances which establish that the city owed the decedent, as a member of an identifiable subclass, a special duty of care. Cf. Irwin v. Ware, 392 Mass. 745, 762, 467 N.E.2d 1292 (1984); A.L v. Commonwealth, 402 Mass. 234, 241, 521 N.E.2d 1017 (1988). General Laws c. 140, sections 121, 129B, 131 (1986 ed.), establish the procedures which govern issuance of firearms permits by licensing authorities. The statute does not evince a legislative intent to protect a particular group of individuals. Rather, the beneficiaries of the statute are members of the general public. See Dinsky v. Framingham, supra, 386 Mass. at 808-810, 438 N.E.2d 51. The plaintiff has not alleged any foreseeable risks, the knowledge of which would have enabled the city to prevent the harm which ultimately occurred. This is not a case like Irwin v. Ware, supra, 392 Mass. at 756, 467 N.E.2d 1292 where the police officer was aware of the risk that the intoxicated driver posed to other motorists. Nor is this a case like A.L v. Commonwealth, supra, 402 Mass. at 241, 521 N.E. 2d 1017, where it was foreseeable that a convicted child molester would be likely to molest young boys. The allegations in this case do not support a claim that the city's purported negligence created a risk of immediate and foreseeable injury. See Appleton v. Hudson, 397 Mass. 812, 816, 494 N.E.2d 10 (1986); Nickerson v. Commonwealth, 397 Mass. 476, 478, 492 N.E.2d 90 (1986); Ribeiro v. Granby, 395 Mass. 608, 612, 481 N.E.2d 466 (1985). There is no allegation in this case that the city or its agents had knowledge that DeCicco had any intent to use the gun to cause harm to someone. Indeed, the fatal shooting, according to the allegations in the complaint, was due to DeCicco's negligence. A more thorough investigation would not have made foreseeable the accidental shooting of the decedent almost one year after the issuance of the license. [footnote 3] Judgment affirmed. FOOTNOTES 1. Of the estate of S. Michael Sampson. 2. Joseph A. DeCicco, Gary DeCicco, and Midland Hotel Corp. Judgment against Joseph A. DeCicco was entered in the sum of $963,000, plus interest and costs. The counts against Midland Hotel Corp. and, Gary DeCicco were dismissed with prejudice. These judgments are not the subject of this appeal. 3. We note that the statute governing firearms licenses does not require the licensing authority to ascertain an applicants skill at handling firearms. See G.L. c. 140, sections 129B. 131.