Under FAA regulation 14 CFR 91.119, the lowest legal altitude depends on the terrain. Over congested areas (cities or towns), pilots must maintain an altitude of at least 1,000 feet above the highest obstacle within a horizontal radius of 2,000 feet. Over non-congested areas, the minimum is 500 feet above the surface. Over open water or sparsely populated areas, an aircraft may fly lower, provided it stays at least 500 feet away from any person, vessel, vehicle, or structure. There is an overarching "anywhere" rule stating that a pilot must always be high enough to allow for an emergency landing without undue hazard to people or property on the ground if a power unit fails. Helicopters are generally permitted to operate at lower altitudes if they comply with any routes or altitudes specifically prescribed by the FAA and do not create a hazard.