Monterey is a coastal city in California that served as the capital of Alta California under both Spanish and Mexican rule. It is historically significant for its role during the Bear Flag Revolt and American military campaigns, as it was a strategic location that facilitated military operations and political maneuvering in the region during the mid-19th century.