Residents of Maine have been able to take part in all U.S. presidential elections since 17-9 , although their votes were included in Massachusetts ' total prior to Maine 's admission to the union in 1-20 .