<span>during this ruling, the U.S. Supreme Court stated that slaves were not citizens of the United States so they could not expect any protection from the Federal Government or the courts.</span>
Tons of racial violence went on during the 20th century, including but not limited to lynching, rioting, looting, and even killing. The early 20th century was known for its segregation and racial violence.
There is a detailed examination of his case at this link
http://www.washingtonhistoryonline.org/leschi/
Ive not read all of it myself but would expect the answer to your question to be there.
Unfortunately the "quashing" of his sentence came far too late to save him from being hung
The Spanish.
Spanish was the former colonial overlords of the Philippines and Beveridge was opposed to the idea of returning the Philippines to Spain.