The Guard of the Rock is a front-line military unit in the San Marino armed forces, a state border patrol, with responsibility for patrolling borders and defending them. In their role as Fortress Guards they are responsible for guarding the Palazzo Pubblico in San Marino City, the seat of national government.