In which country were apartheid laws created that prohibited interracial marriage and otherwise segregated the races?

I say South Africa

Yes.