Until 1962, all 50 states criminalized same-sex sexual activity, but by 2003 all remaining laws against same-sex sexual activity had been invalidated. As of Massachusetts in 2004, LGBT Americans had won the right to marry in 50 states in 2015.