Authorities in Prince George’s County said Wednesday that they have ordered 12 strip clubs in the area to shut down by Friday after a battle over their locations and new, stricter zoning rules.

The clubs, which offer “adult entertainment activities,” were issued letters from the county’s Department of Permitting, Inspections and Enforcement saying they have to close by 5 p.m. Friday. If they don’t, they will face citations and fines, officials said.

The clubs and the county have been involved in a year-long fight that went to court over keeping their doors open at their current locations.

Some residents who live nearby complained to officials that the clubs were unsightly and created unwelcome traffic, extra parked cars, noise and trash. That pushed the county council to pass legislation several years ago that restricts the zoning on where such businesses can locate. The county’s new rules restrict adult entertainment clubs to light industrial, warehouse areas, officials said.