User:HamzaK8/sandbox

The president of the United States is the head of state and head of government of the United States, indirectly elected to a four-year term via the Electoral College. The officeholder leads the executive branch of the federal government and is the commander-in-chief of the United States Armed Forces. Since the office was established in 1789, 45 men have served in 46 presidencies. The first president, George Washington, won a unanimous vote of the Electoral College. Grover Cleveland served two non-consecutive terms and is therefore counted as the 22nd and 24th president of the United States, giving rise to the discrepancy between the number of presidencies and the number of individuals who have served as president.

The presidency of William Henry Harrison, who died 31 days after taking office in 1841, was the shortest in American history. Franklin D. Roosevelt served the longest, over twelve years, before dying early in his fourth term in 1945. He is the only U.S. president to have served more than two terms. Since the ratification of the Twenty-second Amendment to the United States Constitution in 1951, no person may be elected president more than twice, and no one who has served more than two years of a term to which someone else was elected may be elected more than once.

Four presidents died in office of natural causes (William Henry Harrison, Zachary Taylor, Warren G. Harding, and Franklin D. Roosevelt), four were assassinated (Abraham Lincoln, James A. Garfield, William McKinley, and John F. Kennedy), and one resigned (Richard Nixon, facing impeachment and removal from office). John Tyler was the first vice president to assume the presidency during a presidential term, and set the precedent that a vice president who does so becomes the fully functioning president with his own administration.

Throughout most of its history, American politics has been dominated by political parties. The Constitution is silent on the issue of political parties, and at the time it came into force in 1789, no organized parties existed. Soon after the 1st Congress convened, political factions began rallying around dominant Washington administration officials, such as Alexander Hamilton and Thomas Jefferson. Concerned about the capacity of political parties to destroy the fragile unity holding the nation together, Washington remained unaffiliated with any political faction or party throughout his eight-year presidency. He was, and remains, the only U.S. president never affiliated with a political party.

The incumbent president is Joe Biden, who assumed office on January 20, 2021.

List of prime ministers
The parties shown are those to which the prime ministers belonged at the time they held office, and the electoral divisions shown are those they represented while in office. Several prime ministers belonged to parties other than those given and represented other electorates before and after their time in office.

Political parties
{{legend||Australian Labor Party|border=1px solid #AAAAAA}} {{legend||Liberal Party of Australia|border=1px solid #AAAAAA}} {{legend||Australian Country Party|border=1px solid #AAAAAA}} {{legend||Nationalist Party|border=1px solid #AAAAAA}} {{legend||United Australia Party|border=1px solid #AAAAAA}} {{legend||Fusion Liberal Party|border=1px solid #AAAAAA}} {{legend||National Labor Party|border=1px solid #AAAAAA}} {{legend||Free Trade Party|border=1px solid #AAAAAA}} {{legend||Protectionist Party|border=1px solid #AAAAAA}}

Status

Career-based timeline
This timeline shows most of the early life, the political career and death of each prime minister from 1901. The first prime minister was Edmund Barton in the early 20th century.

Key

 * Each dark coloured bar denotes the time spent as prime minister
 * A light colour denotes time spent in Parliament before or after serving as prime minister
 * A grey colour bar denotes the time the prime minister spent outside Parliament, either before or after their political career

Notable moments

 * changed party: Cook (pre-office), Watson (post-office), Hughes (in office and post-office), Lyons (pre-office)
 * died in office: Lyons, Curtin, Holt
 * died shortly after leaving office: Chifley
 * left Parliament on leaving office: Barton, Bruce, Menzies, Fraser, Hawke, Keating, Howard, Gillard, Turnbull
 * long career after being prime minister: Cook, Hughes, Scullin, Page, Fadden, McMahon
 * was prime minister after an interruption to their service in Parliament: Scullin, Curtin, Chifley
 * lived for more than twenty years after leaving Parliament: Watson, Cook, Bruce, Forde, Gorton, Whitlam, Fraser, Hawke, Keating
 * former prime minister still living: Keating, Howard, Rudd, Gillard, Abbott, Turnbull, Morrison