The abandoned Presidio and Mission San Francisco de Asís (Mission Dolores) at San Francisco, (then called Yerba Buena), was occupied without firing a shot on 9 July 1846 by U.S. Marines and U.S. Navy sailors from the sloop . Militia Captain Thomas Fallon led a small force of about 22 men from Santa Cruz, California, and captured the small town of Pueblo de San Jose without bloodshed on 11 July 1846. Fallon received an American flag from Commodore John D. Sloat, and raised it over the pueblo on 14 July. On 15 July 1846, Commodore (Rear Admiral) John D. Sloat transferred his command of the Pacific Squadron to Commodore Robert F. Stockton when Stockton's ship, the frigate , arrived from Hawaii. Stockton, a much more aggressive leader, asked Fremont to form a joint force of Fremont's soldiers, scouts, guides etc. and a volunteer militia—many former Bear Flag Revolters. This unit called the California Battalion was mustered into U.S. service and were paid regular army wages. On 19 July, Frémont's newly formed "California Battalion" swelled to about 160 men. These men included Fremont's 30 topographical men and their 30 scouts and hunters, U.S. Marine Lieutenant Archibald H. Gillespie, a U.S. Navy officer to handle their two cannons, a company of Indians trained by Sutter and many other "permanent" California settlers from several different countries as well as American settlers. The California Battalion members were used mainly to garrison and keep order in the rapidly surrendering California towns. The Navy went down the coast from San Francisco, occupying ports without resistance as they went. The small pueblo (town) of San Diego surrendered 29 July 1846 without a shot being fired. The small pueblo of Santa Barbara surrendered without a shot being fired in August 1846. On 13 August 1846 a joint force of U.S. Marines, bluejacket sailors and parts of Fremont's California Battalion carried by the entered Los Angeles, California with flags flying and band playing. Captain Archibald H. Gillespie, (Fremont's second in command), with an inadequate force of 40 to 50 men were left to occupy and keep order in the largest town (about 3,500) in Alta California—Los Angeles.