The agreement banned emigration of Japanese laborers to the US and rescinded the segregation order of the San Francisco School Board in California, which had humiliated and angered the Japanese. The agreement did not apply to the Territory of Hawaii, which was treated at the time as separate and distinct from the US. The agreements remained effective until 1924, when Congress forbade all immigration from Japan.[11]