In all states, the governor is directly elected, and in most cases has considerable practical powers, though this may be moderated by the state legislature and in some cases by other elected executive officials. In the five extant U.S. territories, all governors are now directly elected as well, though in the past many territorial governors were historically appointed by the President of the United States. Governors can veto state bills, and in all but seven states they have the power of the line-item veto on appropriations bills (a power the President does not have). In some cases legislatures can override a gubernatorial veto by a two-thirds vote, in others by three-fifths.