 California was under U.S. control by January 1847 and formally annexed and paid for by the U.S. in the Treaty of Guadalupe Hidalgo signed in 1848.After hostilities had ceased with the signing of the Treaty of Cahuenga on January 13, 1847, on January 22, 1847 Commodore Stockton's replacement, Commodore William B. Shubrick, showed up in Monterey in the razee with 54 guns and about 500 crew members.On January 27, 1847 the transport "Lexington" showed up in Monterey, California with a regular U.S. Army artillery company of 113 men under Captain Christopher Tompkins.