John Worth Edmonds Statutes at Large of the State of New York, Comprising the Revised Statutes, as They Existed on the 1st Day of January, 1867, and All the General Public Statutes Then in Force, with References to Judicial Decisions, and the Material Notes of the Revisers in Their Report to the Legislature. Containing the Constitution of the United States and the Constitution of the State; an Introduction; an Analysis of All the Statutes and Part First and Chapters 1,2,3 and 4, of Part Second of the Revised Statutes. Second Edition Vol. 1 Page 613, Image 653 (Albany, 1869) available at The Making of Modern Law: Primary Sources.
"Immorality, § 3. No person shall fire or discharge any gun, pistol, rocket, squib, cracker, or other fire-work, within a quarter mile of any building, on the twenty-fifth day of December, on the last day of December, on the first day of January, or on the twenty-second day of February, in any year; nor on the fourth day of July, or such other day as shall at the time be celebrated as the anniversary of American independence, without the order of some officer of the militia, while in the course of military exercises: every person offending against these provisions, shall forfeit the sum of five dollars to be recovered by any person who will prosecute in the name of the overseers of the poor, with their consent and under their discretion, for the use of the poor."