In the 2008 presidential election , John McCain carried both the city and the county , the latter by a landslide , despite losing Florida as a whole to Barack Obama by a narrow margin .
In the 2008 presidential election , John McCain carried both the city and the county , the second one by a landslide , even though they lost Florida as a whole to Barack Obama by a narrow margin .