Organized new territorial government?

Robert F. Stockton organized a new territorial government, after declaring the annexation of California to the U.S. He appointed himself as the governor.