The governor serves as the chief executive officer of the Commonwealth, and through their cabinet, controls all state departments and agencies with a combined budget of $50.1 billion. The governor's authority includes the preparation of state budgets and the power to veto legislation, subject to the override of a two-thirds majority of the Legislature. The governor's law enforcement powers include command of the State Police and the Pennsylvania National Guard. The office is elected statewide and limited to two consecutive four-year terms.