Virginia’s attorney general announced that people seeking a marriage license in the state will no longer have to disclose their race after three couples filed a lawsuit challenging the rule. 

State clerks were notified of the change in an email Friday, the Richmond Times-Dispatch reported. Virginia Attorney General Mark Herring said the changes “will ensure that no Virginian will be forced to label themselves in order to get married” in a statement to the newspaper.

The Division of Vital Records revised the marriage certificate form in the state to make it clear that applicants can decline to state their race if they choose to opt out. Previously, applicants had to state their race or select “mixed” or “other” to obtain a marriage license.

.