Longmont [Colorado] has become a cautionary tale of what can happen when cities decide to confront the oil and gas industry. In an aggressive response to a wave of citizen-led drilling bans, state officials, energy companies and industry groups are taking Longmont and other municipalities to court, forcing local governments into ... expensive, long-shot efforts to defend the measures. Two years ago, [Longmont] residents voted to ban hydraulic fracturing from their grassy open spaces and a snow-fed reservoir. In Colorado, the energy industry, which argues that cities lack the authority to outlaw fracking, has already won rulings overturning three fracking prohibitions. Longmont, which sits near the juncture of rolling plains and jagged mountains, has spent about $136,000 fighting - unsuccessfully so far - to defend a 2012 measure that outlawed fracking. In July, a district court judge tossed out the ban, and the city is appealing. A judge also overturned a fracking ban last year in Fort Collins, Colo., and denied pleas from the city to keep the ban in place while local officials went to court to defend a five-year fracking moratorium. In Broadview Heights, Ohio, energy companies are suing the town - and residents are suing the energy companies in return - over a bill of rights that outlawed fracking and the disposal of its byproducts. While the Longmont City Council voted unanimously in August to defend the fracking ban, other towns have decided it is just too costly a fight.