The correct answer to this open question is the following.
Yo did not include any reference to the timeline. We do not know what that is.
However, we can help you with the following general comments.
Where had Pixley been attorney general?
He was the attorney general in California, from 1862 to 1863.
We are talking about Frank M. Pixley(1825-1895), a Californian politician and journalist with Republican ideas that had the opportunity to cover the actions of the Civil War. In 1877 he founded the San Francisco newspaper "The Argonaut."
As an attorney in general of the state of California, Pixley opposed Chinese migration because he thought those jobs belonged to the American people and the Chinese had no right to take these jobs. Furthermore, the Chinese accepted very low salaries, in detriment to the value of the work that could have been performed by American citizens.