the problem was that there were no slaves in california and white miners did not want black slaves to be used to undercut them as labor in the diggings. the bill that made california the thirty-five state of the united states was passed by the house of representatives.
hope this helps, God bless!