A California appellate court has found that a Southern California homeowners association's ban on short-term rentals runs afoul of the state's coastal access law.

In June 2016, the Mandalay Shores Community Association passed a resolution that barred owners of about 1,400 single-family units along the Oxnard coast from renting their dwellings for less than 30 days.

The Second District Court of Appeal on Tuesday found the ban on short-term rentals violated the California Coastal Act of 1976, which was passed to “maximize public access” to the beach.