 He supported the failed 2006 Arizona initiative to ban same-sex marriage and the successful California Proposition 8.He also voted in favor of the Defense of Marriage Act of 1996 which barred the federal government from recognizing same-sex marriages.In 2006, McCain again voted against the Federal Marriage Amendment, one of seven Republicans to break with their party, reiterating that the issue should be left to the states.