For roughly 70 years, immigrants already living legally in the United States had a relatively straightforward path to permanent residency. Students, tourists, temporary workers, and spouses of American citizens could apply for a green card without ever having to leave the country, through a process called “adjustment of status.”