“Chang first came to the United States and attended Yale as part of the Chinese Educational Mission, a pioneering program initiated by the Chinese government, and later returned on his own to study law. He earned a degree from Columbia Law School in 1886 and sat for the New York bar exam by special act of the legislature. When he was admitted to the New York state bar, The New York Times reported that Chang was the first Chinese immigrant admitted to any bar in the United States. In 1890, he came to California with the intention of serving San Francisco’s Chinese community as an attorney.
At that time, the federal Chinese Exclusion Act banned Chinese immigrants from naturalizing as citizens, and a California law prohibited noncitizens from practicing law in the state. Taken together, these laws made it impossible for people of Chinese descent to earn law licenses in the state. Chang petitioned the California Supreme Court, but in In re Hon Yen Chang, he was denied admission to the bar.” Read more about it here.