During the 18th and most of the 19th centuries, the United States had limited regulation of immigration and naturalization at a national level. Under a mostly prevailing "open border" policy, immigration was generally welcomed, although citizenship was limited to “white persons” as of 1790, and naturalization subject to five year residency requirement as of 1802. Passports and visas were not required for entry to America, rules and procedures for arriving immigrants were determined by local ports of entry or state laws, and processes for naturalization were determined by local county courts.