What was the population of the city that became a prosperous industrial town in the 19th century and that an American politician served as on the school Committee and the mayor?