The principal question presented by this case is whether the St. 1904, c. 333, and the St. 1905, c. 383, and the orders of the commissioners appointed under them, relative to the height of buildings in Boston, are constitutional. A jurisdictional question, if the petitioner is entitled to relief, is whether a remedy can be given him by a writ of mandamus.
The principal question may be subdivided as follows: First, can the Legislature, in the exercise of the police power, limit the height of buildings in cities so that none can be erected above a prescribed number of feet; second, can it classify parts of a city so that in some parts one height is prescribed and in others a different height; third, if so, can it delegate to a commission the determination of the boundaries of these different parts, so as to conform to the general provisions of the statute; fourth, can it-delegate to a commission the making of rules and regulations such as to permit different heights in different places, according to the different conditions in different parts of one of the general classes of territory, made in the original statute; fifth, if it can, are the rules and regulations made by the commissioners within the statute, and within the constitutional authority of the Legislature and its agents?
In the exercise of the police power the Legislature may regulate and limit personal rights and rights of property in the *373interest of the public health, public morals and public safety. Commonwealth v. Pear, 183 Mass. 242. Commonwealth v. Strauss, 191 Mass. 545. California Reduction Co. v. Sanitary Reduction Works, 199 U. S. 306, 318. With considerable strictness of definition, the general welfare may be made a ground, with others, for interference with rights of property, in the exercise of the police power. Commonwealth v. Strauss, ubi supra.
The erection of very high buildings in cities, especially upon" narrow streets, may be carried so far as materially to exclude sunshine, light and air, and thus to affect the public health. It may also increase the danger to persons and property from fire, and be a subject for legislation on that ground. These are proper subjects for consideration in determining whether, in a given case, rights of property in the use of land should be interfered with for the public good. In Attorney Greneral v. Williams, 174 Mass. 476, this court said: “ Regulations in regard to the height and mode of construction of buildings in cities are often made by legislative enactments in the exercise of the police power, for the safety, comfort, and convenience of the people and for the benefit of property owners generally. The right to make such regulations is too well established to be questioned. Watertown v. Mayo, 109 Mass. 315. Salem v. Maynes, 123 Mass. 372. Sawyer v. Davis, 136 Mass. 239.” In People v. D’Oench, 111 N. Y. 359, a statute limiting the height of dwelling houses to be erected in the city of New York was treated as unquestionably constitutional. See 1 Abbott, Mun. Corp. § 125; 2 Tiedeman, State and Federal Control, § 150. There is nothing in Parker v. Commonwealth, 178 Mass. 199, against the validity of the statutes now before us. That case was decided upon the construction given by the court to the legislative act under which it arose. The court held that the Legislature had not assumed to determine that any limitation of the height of buildings on the designated streets was required, in the interest of the public health and public safety, or of the public welfare, and it left open the question whether the Legislature might have made the restriction, without providing compensation, if it had declared in the statute that no damages should be paid. It is for the Legislature to determine whether the public health or public safety requires such a limitation of the rights of landowners in *374a given case. Upon a determination in the affirmative, they may legislate accordingly.
The next question is whether the General Court may establish different heights for different neighborhoods, according to their conditions and the uses to which the property in them is put. The statute should be adapted to the accomplishment of the purposes in which it finds its constitutional justification. It should be reasonable, not only in reference to the interests of the public, but also in reference to the rights of landowners. If these rights and interests are in conflict in any degree, the opposing considerations should be balanced against each other, and each should be made to yield reasonably to those upon the other side. The value of land and the demand for space, in those parts of Boston where the greater part of the buildings are used for purposes of business or commerce, is such as to call for buildings of greater height than are needed in those parts of the city where the greater part of the buildings are used for residential purposes. It was, therefore, reasonable to provide in the statute that buildings might be erected to a greater height in the former parts of the city than in the latter, even if some of the streets in the former are narrower than those in the latter.
The general subject is one that calls for a careful consideration of conditions* existing in different places. In many cities there would be no danger, of the erection of high buildings in such locations and of such a number as to affect materially the public health or safety, and no statutory restrictions are necessary. Such restrictions in this country are of ve^y recent origin, and they are still uncommon. Unless they place the limited height at an extreme point, beyond which hardly any one would ever wish to go, they should be imposed only in reference to the uses for which the real estate probably will be needed, and the manner in which the land is laid out, and the nature of the approaches to it.
It was decided in Commonwealth v. Boston Advertising Co. 188 Mass. 348, that a statute of this kind cannot constitutionally be passed for a mere aesthetic object. It was said in Attorney General v. Williams, 174 Mass. 476, 480, that the statute then before the court, enacted under the right of eminent domain, *375with compensation for landowners, would have been unconstitutional if it had been passed “ to preserve the architectural symmetry of Copley Square,” or “merely for the benefit of individual property owners.” The inhabitants of a city or town cannot be compelled to give up rights in property, or to pay taxes, for purely aesthetic objects; but if the primary and substantive purpose of the legislation is such as justifies the act, considerations of taste and beauty may enter in, as auxiliary. We are of opinion that the provision of the St. 1904, c. 333, for dividing parts of the city into two classes, in each of which there is a prescribed limit for the height of buildings, was within the power of the Legislature, and in accordance with the constitutional principle applicable to the enactment.
The delegation to a commission of the determination of the boundaries of these parts for the two classes was within the constitutional power of the General Court. The work of the commissioners under the first act was not legislation, but the ascertainment of facts, and the application of the statute to them for purposes of administration. Such subsidiary work by a commission is justified in many cases. Commonwealth v. Plaisted, 148 Mass. 375. Brodbine v. Revere, 182 Mass. 598. Commonwealth v. Sisson, 189 Mass. 247. Stark v. Boston, 180 Mass. 293. Kingman, petitioner, 153 Mass. 566. Taunton v. Taylor, 116 Mass. 254. Nelson v. State Board of Health, 186 Mass. 330. Commonwealth v. Bennett, 108 Mass. 27. Field v. Clark, 143 U. S. 649, 692. In re Kollock, petitioner, 165 U. S. 526.
The delegation to a commission of the power to fix different heights in different places in the parts included in Class B, under the St. 1905, c. 383, goes further, and allows the commissioners to make rules and regulations which are in the nature of subsidiary legislation. This is within the principle referred to in Brodbine v. Revere, ubi supra, and in some of the other cases above cited. It is that, under our system in Massachusetts, matters of local self-government might always be entrusted to the inhabitants of towns. On the establishment of cities this power is exercised by the city council, or by some board or commission representing the inhabitants. Even in towns such powers have long been exercised by local boards, for example, *376by the board of health. Originally such representatives of the local authority were elected by the people; but for many years local boards, appointed by the Governor or other executive authority, have sometimes been entrusted with the exercise of this legislative authority. It is true that they are further from the people than the members of a city council, for whom the people vote, but in a true sense they represent the inhabitants in matters of this kind. Our decisions cover this point also. Commonwealth v. Plaisted, Brodbine v. Revere, ubi supra.
It does not follow that all rules and regulations made under such a delegation of authority would be constitutional, merely because the original statute is unobjectionable. Such rules may be tested by the courts to see whether they are reasonably directed to the accomplishment of the purpose on which the constitutional authority rests, and whether they have a real, substantial relation to the public objects which the government can accomplish. A statute, ordinance or regulation will not be held void merely because the judges differ from the legislators as to the expediency of its provisions. But if it is arbitrary and unreasonable, so as unnecessarily to be subversive of rights of property, it will be set aside by the courts. In re Jacobs, 98 N. Y. 98, 110. People v. Gillson, 109 N. Y. 389, 403. New York Health Department v. Trinity Church, 145 N. Y. 32, 40. Chicago, Burlington & Quincy Railway v. Drainage Commissioners, 200 U. S. 561, 593. California Reduction Co. v. Sanitary Reduction Works, 199 U. S. 306, 318. Lawton v. Steele, 152 U. S. 133, 137. Dobbins v. Los Angeles, 195 U. S. 223, 235, 238. Jacobson v. Massachusetts, 197 U. S. 11, 28, 31.
We do not see that the action of the commissioners, under the St. 1905, was beyond their power under the constitution. It was seemingly in accordance with the general purpose of the Legislature, and was directed to considerations which they deemed proper in adjusting the rights and interests of property owners and the public. The question is not whether the court deems all the provisions wise; but whether they appear to be outside of the constitutional power of the commission. In prescribing heights in the district, the commissioners might make the width of the streets on which a building was to be erected one factor to be considered. Their action in this particular *377relates wholly to buildings in Class B, which includes only the residential parts of the city.
We cannot say that the prohibition of the erection of a building of a greater height than eighty feet in Class B, unless its width “on each and every public street upon which it stands will be at least one-half its height,” was entirely for aesthetic reasons. We conceive that the safety of adjoining buildings, in view of the risk of the falling of walls after a fire, may have entered into the purpose of the commissioners. We are of opinion that the statutes and the orders of the commissioners are constitutional.
We think that the court has jurisdiction to dispose of the case on the merits, under this petition for a writ of mandamus. The wrong alleged is that the building commissioner, and afterwards the board of appeal, refused to give the petitioner a permit to erect a building. It is conceded that the petitioner was not entitled to a permit if the statutes and orders referred to are constitutional. He alleges that the board of appeal refused to do their duty, and that his only effectual remedy is by a writ of mandamus, ordering them to grant a permit. The ease comes within the general rule giving jurisdiction to issue such writs, Farmington River Water Power v. County Commissioners, 112 Mass. 206, 212. Carpenter v. County Commissioners, 21 Pick. 258, 259. Attorney General v. Boston, 123 Mass. 460. See Locke v. Selectmen of Lexington, 122 Mass. 290; Attorney General v. Northampton, 143 Mass. 589.
The building commissioner and the board of appeal are not judicial officers. St. 1892, c. 419. St. 1894, c. 443. The fact that a refusal to act is founded on a mistake of law does not preclude a remedy by a writ of mandamus. In cases where the duty to perform an act depends solely on the question whether a statute or ordinance is constitutional and valid, the question may sometimes be determined on a petition for a writ of mandamus. Attorney General v. Boston, 123 Mass. 460. Warren v. Charlestown, 2 Gray, 84. Larcom v. Olin, 160 Mass. 102, 110.
Petition dismissed.