The Yakima (Wash.) City Council has approved a ban prohibiting sex offenders from using city swimming pools.

According to the, “City officials believe the ban approved Tuesday is a first under a Washington trespass law that allows cities and other entities such as schools, libraries and day-care centers to ban certain sex offenders from pools, parks, playgrounds and other facilities with the primary purpose of educating or caring for children.” There are about 100 sex offenders living in the local area and at least one is known to have spent time at one of Yakima’s two pools.