The court ruled that even though an anti-miscegenation law granted black people the right to marry any other black person they wanted, and whites any white person they wanted, the law was a violation of the 14th Amendment providing for equal rights under the law.