The population was 4,698 at the 2010 census , making it the 9th largest city within the Madison metropolitan area .
It is the largest city in Iowa county and the 9th largest city within the Madison metropolitan area .