The California Highway Patrol, established in 1929, is a public agency that works towards the prevention of loss of life, injuries and property damage. It also provides services for managing traffic and emergency incidents and protecting public and state assets. The agency operates more than 100 offices spread across eight divisions throughout the state. The California Highway Patrol maintains administrative, information management, enforcement, and planning and analysis divisions. In addition, it has personnel management and departmental training units. The agency also has the Office of Legal Affairs, which comprises of the legal coordination and analysis units. The California Highway Patrol maintains a location in San Francisco.