Charles R. LaBay appeals from the judgment entered in the Superior Court (Oxford County, Alexander, J.) affirming the decision of the Town of Paris Zoning Board of Appeals (Board). The Board granted LaBay a variance to replace a trailer in his mobile home park, but rejected his contention that the mobile home park is grandfathered as a preexisting land use, and therefore, is not subject to the Town’s building code ordinance. We discern no error and affirm the judgment.
LaBay owns a mobile home park in Paris that has been in existence since 1959, when it was first licensed by the State. See 10 M.R.S.A. § 9021 (Supp.1994). The license permits five homes; at all times, the park has had four mobile homes in it. In 1972, the Town enacted a Code for Construction of New Buildings. 1 The mobile home and lot at issue do not meet the code’s set back requirements. In its entirety, the park appar *265 ently does not meet the code’s size requirements for operating a mobile home park.
In 1990, one of LaBay’s tenants moved out of the park. LaBay applied to the Code Enforcement Officer for a building permit to replace the mobile home removed by the tenant with a new one. The permit was denied because the replacement unit in the same location would not meet the set back requirements of the building code. 2 LaBay then applied for a variance from the Board. The Board denied his application following a public hearing. Pursuant to M.R.Civ.P. 80B, LaBay brought an action in Superior Court seeking to vacate the Board’s decision. He also sought a declaratory judgment that the ordinance could not be applied to him. See 14 M.R.S.A. §§ 5951-5968 (1980). The Superior Court vacated the Board’s denial of La-Bay’s application for the variance and remanded the matter for findings of fact as to the bases for the denial.
Following an appeal from a second Board decision adverse to LaBay, the Superi- or Court ordered the Board to grant LaBay a third hearing based on lack of adequate notice. Following this hearing, the Board approved LaBay’s petition for a variance. Nonetheless, LaBay again appealed, contending, as he did before the Board, that the building code does not apply to his mobile home park. The Superior Court rejected his contentions and this appeal followed.
3
Because the Superior Court made its decision solely from the administrative record developed before the Board, we review the record directly to determine if the Board abused its discretion, committed an error of law, or made findings not supported by substantial evidence.
Sanford Properties, Inc. v. Town of Sanford,
LaBay contends that he has a vested right to the use of his property as a mobile home park containing at least four mobile homes. He argues that the building code is in the nature of a zoning ordinance that constitutionally may be applied only prospectively, and accordingly, cannot apply to the use of his property. As a result, he concludes that he is entitled to replace an individual mobile home without the necessity of a variance. We are unpersuaded by his argument.
The Town’s building code ordinance on its face does not address land usage. It covers “new construction, alterations, renovations, relocation and replacement of any buildings,” and includes minimum construction standards, required building materials for roofs and chimneys, and floor area míni-mums, as well as lot size requirements. The provision applies uniformly to all buildings in the Town, with a grandfather clause exception for existing buildings.
4
Because the ordinance regulates in a general and uniform city- or town-wide manner, it does not constitute zoning, which is the “particularistic division of the city into zones for the purpose of applying different proscriptions and ‘reasonable application of different regulations’ in the different zones.”
Benjamin v. Houle,
A building code is a valid exercise of the Town’s police power,
5
provided it does not offend due process under the United States and Maine Constitutions.
6
See Town of Boothbay,
LaBay’s contention that he is entitled to operate a mobile home park with at least four units by virtue of a license for that number obtained prior to the enactment of the Town’s ordinances, and that he need not obtain a permit to replace any of the units nor obtain a variance when the replacement site does not conform to the code requirements, is contradictory to our prior precedents. In
Whalen,
we upheld the provision of an ordinance providing that the owner of a
nonconforming
mobile home park licensed for six homes could not install a new unit on a site different from the burned home it was replacing without obtaining a permit to alter the park.
The Superior Court committed no error when it declined to issue a declaratory judgment that LaBay’s mobile home park was free from the reach of the Town’s building code.
The entry is:
Judgment affirmed.
All concurring.
Notes
. The Town also adopted the Trailer Ordinance and the Requirements for Mobile Home Park Developments in 1973. Neither of these is pertinent to this appeal.
. Section 5A of the building code reads as follows:
No building or mobile home shall be placed on a lot unless it is set back from the edge of the street, accepted town road or public right of way, at least 25 feet or unless there is a common line established by existing buildings. No building or mobile home shall be placed on a lot unless it is 20 feet from an adjoining lot line, but a single-story garage may be placed 10 feet from the lot line.
. The procedural posture of this case is somewhat confusing. LaBay’s complaint contained two counts. The first count was brought pursuant to M.R.Civ.P. 80B and sought to overturn the Board’s denial of his application for a variance. Count II sought a declaratoiy judgment that his mobile home park is grandfathered and not subject to the building code. Although an order entered early in the case by the Superior Court indicated that the case would proceed only on the Rule 80B administrative appeal, LaBay’s petition for a variance was granted by the Board. An action for a declaratory judgment is an appropriate procedural vehicle for LaBay to test his contention that his mobile home park is grandfathered and not subject to the building code. We therefore treat his appeal as being from the court's failure to issue such a declaratory judgment.
.In addition to grandfathering existing buildings, the ordinance also allows burned buildings to be replaced.
. Municipalities may enact ordinances and regulations as long as they "conform to the enabling legislation by which the legislature has delegated police powers” to towns and cities.
Town of Boothbay,
. See U.S. Const, amends. V, XIV; Me. Const, art. I, § 6-A.
