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. The governor may also have additional roles, such as that of commander-in-chief of the state's National Guard (when not federalized) and of that state's respective defense force (which is not subject to federalization). In many states and territories the governor also has partial or absolute power to commute or pardon a criminal sentence. All U.S. governors serve four-year terms except those in New Hampshire and Vermont, who serve two-year terms.