The ruling, which overturned a constitutional amendment adopted by Virginia voters in 2006 as well as previous laws, also said that Virginia must respect same-sex marriages that were carried out legally in other states.