The governor heads the government's executive branch in each state or territory and, depending on the individual jurisdiction, may have considerable control over government budgeting, the power of appointment of many officials (including many judges), and a considerable role in legislation.