On June 12, 1967, the Court issued a unanimous decision in the Lovings' favor and overturned their convictions. Its decision struck down Virginia's anti-miscegenation law and ended all race-based legal restrictions on marriage in the United States. Virginia had argued that its law was not a violation of the Equal Protection Clause because the punishment was the same regardless of the offender's race, and thus it "equally burdened" both whites and non-whites. The Court found that the law nonetheless violated the Equal Protection Clause because it was based solely on "distinctions drawn according to race" and outlawed conduct—namely, getting married—that was otherwise generally accepted and which citizens were free to do.