delivered the opinion of the Court.
This suit in equity was instituted by seven residents of the Howard Park section of Baltimore (1) to annul Ordinance 632, approved April 1, 1949, which amends the Baltimore City Zoning Ordinance by reclassifying the property at 5118 Gwynn Oak Avenue, owned by Ellsworth Armacost and his wife, from residential to first commercial use district for the purpose of permitting them to conduct a funeral home on the premises, (2) to direct Paul A. Cohen, Buildings Engineer, to revoke the permit issued to them to use the property as a funeral home, and (3) to restrain them from using the property as such.
One complainant died prior to the trial. Four withdrew from the case. The remaining two, R. Vernon Cassel and his wife, appealed here from the Court’s decree dismissing the bill of complaint.
*353
It is an established rule that a court of equity has the power to restrain the enforcement of a void statute or ordinance at the suit of a person injuriously affected.
Spann v. Gaither,
Appellants reside on Fernpark Avenue less than 100 feet from the property in dispute, which is situated on the northeast corner of Gwynn Oak Avenue and Fern-park Avenue. Though appellants cannot see the front of the funeral home, they can see the garage in the rear. As they are property owners residing within the residential use district in which the property in dispute was originally classified, they are proper parties to a suit attacking the validity of the amending ordinance and praying for an injunction against the use of the property as a funeral home.
Zoning is permissible only as an exercise of the police power of the State. When this power is exercised by a city, it is confined by the limitations fixed in the grant by the State and to the accomplishment of the purposes for which the State authorized the city to zone. These purposes are set forth in the State Zoning Enabling Act, which demands that zoning regulations shall be made in accordance with a comprehensive plan and designed “to lessen congestion in the streets; to secure safety from fire, panic, and other dangers; to promote health and the general welfare; to provide adequate light and air; to prevent the overcrowding of land; to avoid undue concentration of population; to facilitate the adequate provision of transportation, water, sewerage, *354 schools, parks, and other public requirements.” Laws of 1927, ch. 705, Code 1939, art. 66B, secs. 3, 21.
The test of invalidity of a zoning ordinance is whether it is arbitrary, unreasonable and discriminatory, and has no substantial relation to the public health, safety, morals, or general welfare.
Mayor and City Council of Baltimore v. Byrd,
The State Zoning Enabling Act demands that all zoning regulations shall be uniform for each class or kind of buildings throughout each district, but the zoning regulations in one district may differ from those in other districts. Code 1939, art. 66B, secs. 2, 21. The regulations for the use of property within the various use districts are supported upon the basic theory that they apply equally and uniformly within the district affected. Invidious distinctions and discriminations in zoning cannot be allowed, for the very essence of zoning is territorial division according to the character of the land and the buildings, their peculiar suitability for particular uses, and uniformity of use within the use district.
Sugar v. North Baltimore Methodist Protestant Church,
*355
“Spot zoning,” the arbitrary and unreasonable devotion of a small area within a zoning district to a use which is inconsistent with the use to which the rest of the district is restricted, has appeared in many cities in America as the result of pressure put upon councilmen to pass amendments to zoning ordinances solely for the benefit of private interests. While the City Council has wide discretion in enacting zoning ordinances, it has no authority to place restrictions on one person’s property and by mere favor remove such restrictions from another’s property, unless there is reasonable ground for the discrimination. Moreover, increase in “spot zoning” in course of time would subvert the original soundness of the comprehensive plan and tend to produce conditions almost as chaotic as existed before zoning. It is, therefore, universally held that a “spot zoning” ordinance, which singles out a parcel of land within the limits of a use district and marks it off into a separate district for the benefit of the owner, thereby permitting a use of that parcel inconsistent with the use permitted in the rest of the district, is invalid if it is not in accordance with the comprehensive zoning plan and is merely for private gain.
Leahy v. Inspector of Buildings of City of New Bedford,
On the other hand, it has been decided that a use permitted in a small area, which is not inconsistent with the use to which the larger surrounding area is restricted, although it may be different from that use, is not “spot zoning” when it does not conflict with the comprehensive plan but is in harmony with an orderly growth of a new use for property in the locality. The courts have accordingly upheld the creation of small districts within a residential district for use of grocery stores, drug stores and barber shops, and even gasoline filling stations, for the accommodation and convenience of the residents of
*356
the residential district.
Higbee v. Chicago, B. & Q. R. Co.,
Somewhat similar to that rule is the rule enunciated by this Court in
Ellicott v. Mayor and City Council of Baltimore,
We now come to the specific question whether the City Council can discriminate in favor of a mortician by permitting him to conduct a funeral home in a locality which has long been zoned as residential. The rule adopted in other States, which we follow, is that an amendment to a municipal zoning ordinance that creates a separate commercial district of a single lot of ground to enable an individual to obtain a permit to use his residence on the lot as a funeral home is ordinarily invalid because it provides for unreasonable and discrimin
*357
atory “spot zoning” beyond the statutory power of the city.
Smith v. Board of Appeals of Salem,
We have found no facts in this record so extraordinary as to persuade us to withdraw the case from application of the accepted rule. The ordinance under review is a clear case of “spot zoning”. The property in dispute is situated in an area that has been zoned as residential ever since the enactment of the City Zoning Ordinance in 1931. The amending ordinance contains a proviso that the premises shall be used only as a funeral home and that no embalming shall be done on the premises. However, Paragraph 8 of the City Zoning Ordinance explicitly provides that no land or building in a residential use district shall be used for “undertaking business or establishment or funeral home.”
The amending ordinance reclassifies a single lot in a district where undertaking establishments are not permitted, thus establishing a permissive district within the restricted district. Armacost, who has been engaged in the undertaking business in Howard Park for some years, contracted to purchase the property in dispute upon the condition that if he could not secure a permit to use it as a funeral home, the contract would be rescinded. In January, 1949, after getting the approval of a number of residents of the neighborhood for the establishment of the funeral home, he had the proposed ordinance introduced in the City Council. A number of residents appeared before the Committee on Buildings and Building Regulations, and no objections were heard to the ordinance. Cassel declares that he was one of the opponents who appeared at the hearing, but that the proponents outnumbered the opponents, and he did not voice any objection because it seemed “rather futile.” However *358 that may be, the ordinance was passed by the City Council in March, and eleven days after it was approved by the Mayor, the Buildings Engineer issued the permit.
. At the trial of this case Cassel asserted positively that there is no need for a funeral home at 5118 Gwynn Oak Aveune.. He showed that the property in dispute is only three blocks from Woodbine Avenue, which is in a first commercial use district. Charles E. Delosier, secretary of the State Board of Funeral Directors, who was called to the stand by appellees, acknowledged that there are three other funeral homes within a radius of about ten blocks. Armacost testified that he spent a large sum of money to paint, paper and wire the house, but neither this fact nor the allegation that the funeral home will be a convenience for the tenants in nearby apartment houses is sufficient to save the ordinance. It was urged that there are about 20,000 inhabitants of the Howard Park section, but Armacost admitted that he has conducted only about two funerals a month from the funeral home since he opened it. It is impossible to avoid the conclusion that the ordinance is an arbitrary and unreasonable discrimination for the reason that it does not operate alike on all persons residing within the residential area. As we are convinced that the ordinance is beyond the statutory power of the City Council, we must declare it void. If a funeral home were permitted here, it might be an opening wedge for other enterprises in this and other residential districts of the city.
For these reasons we must reverse the decree dismissing the bill of complaint and remand the case for the passage of a decree granting the relief prayed for by appellants.
Decree reversed and case remanded, with costs.
