The plaintiff seeks to recover from the defendant town certain sums of money which he avers he paid to the defendant, in three successive years, for licenses to sell intoxicating liquor granted by it to him. See R. L. c. 100, and the acts in amendment thereof. His claim is that he paid his money to the defendant and took the licenses from it under a mistake of fact, in that he supposed that the building specified in the licenses was a part of the defendant town and that the town had jurisdiction and authority to grant the licenses for sales to be made in that building, whereas in fact the building stood upon land which had become part of a United States reservation and subject to the control and jurisdiction of the United States, under St. 1902, c. 373; and he contends that for this reason the licenses which he says that the town granted to him were void, and that he is entitled to have his moneys returned to him. The case comes to us upon an agreed statement of facts, with power to draw inferences therefrom.
If we assume, what never has been decided in this Comm on - wealth, that the plaintiff, if otherwise entitled to do so, could maintain his action upon proof that these licenses were void ab initia, there are yet serious difficulties in his path.
The licenses were not granted to him by the town of Nahant or in any sense by its authority. They could have been granted only by the selectmen of the town. These selectmen, in passing upon his applications and granting him licenses, acted merely as public officers under the authority of the Commonwealth, and the moneys which he paid as license fees were not really paid to the town, but to the treasurer of the town, likewise acting as a public officer and not as an agent of the town. McGinnis v. Medway, 176 Mass. 67. Taber v. New Bedford, 177 Mass. 197. R. L. c. 100, § 42. It is because the treasurer receives such money as a public officer and not as an agent or servant of the town that the liability for interest, if he makes delay in paying the required part to the Commonwealth, is imposed upon him personally and *275not upon the town. R. L. c. 100, § 45. If, as the parties have said, the plaintiff’s payments were made to the town, this can mean only that they were paid in hand to the town to be by it at once turned over to its treasurer, the only officer who had authority to receive the payments. Certainly this necessarily appears from the facts agreed. And it is agreed that no question of pleading is raised.
Three fourths of the amount of these license fees did actually come into the town treasury; but that amount came mingled with the same proportional part of all the license fees that were received by the town treasurer, and not in any sense as the money of the plaintiff. There was absolutely no transaction between the plaintiff and the defendant town. But it is a general principle in this Commonwealth that no action will lie against any city or town for the act of a public officer, though inuring to its advantage, unless the right of action has been given by statute. Accordingly it was expressly declared in McGinnis v. Medway, 176 Mass. 67, that a city or town is not responsible for any acts of its licensing board, whether a special commission or the mayor and aldermen, or, as here,.the selectmen of a town. We know of no statute which creates such responsibility in a case like this. See St. 1902, c. 171. There could have been here no mistake of fact common to the plaintiff and the defendant town.
Nor, under the circumstances here presented, has the plaintiff failed to enjoy the benefit of his licenses. The tract of land which includes his premises and over which jurisdiction was granted to the United States by St. 1902, c. 373, was to be used by the United States only for purposes of national defense. It did not begin to be so used until November, 1906. Until that time nothing in the Act of Congress of February 2, 1901, (U. S. St. c. 192, § 38,) made the plaintiff’s business unlawful, and in the meantime he continued his business under the protection of the licenses which he had obtained from the selectmen. Under the strict terms of St. 1902, c. 373, § 2, there is room for doubt whether without his licenses he lawfully could have carried on his business during the time that they were in force. See Palmer v. Barrett, 162 U. S. 399. At any rate, when he applied to the selectmen for licenses, those officers had a right to believe that he chose to make himself safe from any danger of prosecution by taking licenses to sell *276intoxicating liquors at his house. Altering somewhat the language of Mr. Justice Holmes in Alton v. First National Bank of Webster, 157 Mass. 341, 344, this was a matter equally open for the inquiry and the judgment of the plaintiff and the selectmen, and the latter had the right to assume that the plaintiff relied wholly on his own means of information. He chose to apply for licenses in the manner provided by law; the public officers whose duty it was to consider the question granted his applications; he voluntarily took the licenses which they consented to give him, and paid to the proper public officer (whether directly or indirectly is not material) the license fees. He cannot now exact from the town the return of that part of his money which finally went into its treasury any more than he can require the Commonwealth to repay to him the amount which came into its hands.
We see no ground upon which the action can be maintained. Though this exact point apparently has not''been passed upon, somewhat similar questions have been decided in the same way. Cook v. Boston, 9 Allen, 393. Emery v. Lowell, 127 Mass. 138. Kraft v. Keokuk, 14 Iowa, 86. Edinburg v. Hackney, 54 Ind. 83. Brazil v. Kress, 55 Ind. 14. Cahaba v. Burnett, 34 Ala. 400. Tupelo v. Beard, 56 Miss. 532. Custin v. Viroqua, 67 Wis. 314. Judgment must be for the defendant.
So ordered.