San Rafael, California, the seat of Marin County. It is on San Francisco Bay and is 13 miles (21 km) north of downtown San Francisco. San Rafael is primarily a residential community, with some light manufacturing. The Richmond-San Rafael Bridge spans the bay and links the city with Richmond. The city grew up around the Mission San Rafael Arcangel, founded in 1817, and was incorporated in 1874.