The justices relied on a long-settled understanding of the 14th Amendment, adopted after the Civil War, and more recent federal laws in ruling that anyone born in the country, with very limited exceptions, is a citizen.