The longest-serving socialist in the US government was David Hoan, Mayor of Milwaukee (24 years, 1916-1940). He started the first public housing project in the country.