in San Diego (El Presidio Real de San Diego) in 1769, in San Francisco (El Presidio Real de San Francisco ) in 1776, and in Santa Barbara (El Presidio Real de Santa Bárbara) in 1782. On 20 November 1818 Argentine privateer Hipólito Bouchard, known thereafter as "California's only pirate", raided the installation defended by José Bandini. Its population took refuge in the Presidio's Rancho del Rey San Pedro (King's Farm), in the vicinity of Salinas. The fortunes of the Presidio at Monterey rose and fell with the times: it has been moved, abandoned and reactivated time and time again. The only surviving building from the original compound is the Royal Presidio Chapel. At least three times, it has been submerged by the tide of history, only to appear years later with a new face, a new master, and a new mission – first under the Spanish, then the Mexicans, and ultimately the Americans. United States fort United States control of the area began in 1846 during the Mexican–American War when Commodore John D. Sloat, commander of the U.S. Navy's Pacific Squadron, landed unopposed a small force in Monterey and claimed the territory and the Presidio for the United States. He left a small garrison of Marines who moved the fort up to its current location on the hill overlooking the harbor, combining in one location the previously separated functions of military headquarters and fortress. The Presidio was renamed Fort Mervine in honor of Captain William Mervine, who commanded one of the ships in Sloat's squadron. The original Presidio comprised a square of adobe buildings located in the vicinity of what is now downtown Monterey. The fort's original mission, the Royal Presidio Chapel, has remained in constant use since its founding in 1770 by Junípero Serra, who arrived with Portola's party. On a hill overlooking the Monterey harbor is an earthwork—the only lingering connection between the original and present sites of the Presidio. That earthwork was part of the Spanish-built artillery battery defending the harbor. The 1846 US occupation of Monterey put an end to any Mexican military presence at the Presidio. In 1865, in the closing months of the American Civil War, the fort was returned to temporary life by the arrival of six officers and 156 enlisted men, but was abandoned again in 1866. In 1902, an infantry regiment arrived at Monterey with the mission to construct a post