The Gentlemen's Agreement was an informal understanding between the United States and Japan in the early 20th century that aimed to limit Japanese immigration to the U.S. without formal legislation. This agreement arose from rising anti-Japanese sentiment in America and reflected the broader tensions surrounding immigration policies during this period. It demonstrated how diplomatic negotiations were often used to address immigration issues rather than through outright legal restrictions.