In this task you will be given an answer to a question. You need to generate a question. The answer given should be a correct answer for the generated question.

The case was brought by Mildred Loving (née Jeter), a woman of color, and Richard Loving, a white man, who had been sentenced to a year in prison in Virginia for marrying each other. Their marriage violated the state's anti-miscegenation statute, the Racial Integrity Act of 1924, which prohibited marriage between people classified as 'white' and people classified as 'colored'. The Supreme Court's unanimous decision determined that this prohibition was unconstitutional, overruling Pace v. Alabama (1883) and ending all race-based legal restrictions on marriage in the United States.
what previous case had created a precedent for striking down virginia’s law