<Tr> <Td> 1964 </Td> <Td> 23.44% 549,727 </Td> <Td> 76.19% 1,786,422 </Td> </Tr> <Tr> <Td> 1960 </Td> <Td> 39.55% 976,750 </Td> <Td> 60.22% 1,487,174 </Td> </Tr> <P> Subsequent to the 2010 national census, and the 2011 change in allocation of United States House of Representatives districts among the states, Massachusetts has nine seats . They were all Democratic . Massachusetts has two Democratic United States Senators . </P> <P> Although Republicans have held the governor's office almost continuously since 1991 (the only exception being Democrat Deval Patrick (2007--2015)), they have mostly been among the most liberal Republican leaders in the nation, especially William Weld (the first of four recent Republican governors). Two of these governors, Paul Cellucci and Jane Swift, took office when their predecessors resigned to take other positions . In presidential elections, Massachusetts supported Republicans through 1924, and was considered a swing state until the 1980s . More recently, it has gradually shifted to the Democratic Party since 1988 . In the 2004 election giving native son John Kerry 61.9% of the vote and his largest margin of victory in any state . (However, John Kerry's margin of victory in the District of Columbia was much higher .) President Barack Obama carried the state with 61.8% of the vote, for the 2008 election . It was the eighth most Democratic state for that election, surpassed by Rhode Island, New York, Illinois, Maryland, Delaware, Vermont and Hawaii as well as the District of Columbia which isn't a state . </P>

When was the last time a republican won massachusetts