The justices ruled that the Constitution guarantees U.S. citizenship to virtually everyone born on American soil.