Company B of the California Battalion, which had been left in Sonoma for the protection of the town, was soon placed under U.S. Navy command. The American immigrants who comprised Company B eventually returned to their homes. Sonoma's "Alcalde" complained to the U.S. Navy about the lack of protection for the town and a detachment of U.S. Marines was assigned to the Sonoma Barracks. In March 1847, the Marines were replaced by Company "C" of what was called Stevenson's New York Volunteers. The enlistments of the New York Volunteers ended with the war and they were replaced in May 1849, by a 37-man company of U.S. dragoons (Company C, 1st U.S. Dragoons) who moved into the Barracks and established Camp Sonoma. Sonoma was also the headquarters of the Pacific Division of the U.S. Army under Brevet Major General Persifor Smith. Sonoma lost its military population in January 1852, when the troops moved to Benicia and other assignments in California and Oregon. The Army continued to use part of the Barracks as a supply depot until August 1853.