John Fitzgerald Kennedy was born on May 29, 1917, in Brookline, Mass., to Joseph and Rose Kennedy. Here he stands outside their home with his brother, Joseph P. Kennedy, Jr. in 1919.
Kennedy and his sister, Eunice, outside their home in 1925.
The Kennedy family at Hyannis Port in September 1931. L-R: Robert Kennedy, John F. Kennedy, Eunice Kennedy, Jean Kennedy (on lap of) Joseph P. Kennedy Sr., Rose Fitzgerald Kennedy (behind) Patricia Kennedy, Kathleen Kennedy, Joseph P. Kennedy Jr. (behind) Rosemary Kennedy. Dog in foreground is "Buddy."
Here is Kennedy's entry in his high school yearbook.
Here, Kennedy poses with a dog named "Dunker" during a tour of Europe in the summer of 1937.
Kennedy graduated from Harvard University in June 1940.
Kennedy served in World War II, saving all but two of his crew when their Motor Torpedo Boat PT-109 was rammed by the Japanese destroyer Amagiri and sunk in 1943.
In 1946, Kennedy was elected to the U.S. House of Representatives at age 29, garnering nearly 72 percent of the vote in Massachusetts' strongly Democratic 11th Congressional District.
In 1952, he defeated incumbent Republican Henry Cabot Lodge, Jr. for a U.S. Senate seat.
The next year, in 1953, Kennedy married Jacqueline Bouvier on the Hammersmith Farm in Newport, R.I.
The pair honeymooned in Acapulco, Mexico, in September 1953.
Kennedy underwent several spinal operations over the following two years. Often absent from the Senate, he was at times critically ill and received Catholic last rites. During his convalescence in 1956, he published "Profiles in Courage," a book about U.S. senators who risked their careers for their personal beliefs, which received the Pulitzer Prize for Biography in 1957.
After a second term in the Senate, Kennedy ran for president in 1960 and won, beating Republican Richard Nixon in one of the closest presidential races in history.
Kennedy was sworn in as the 35th President at noon on Jan. 20, 1961,famously telling Americans, "Ask not what your country can do for you; ask what you can do for your country."
The elegant pair, seen here at Kennedy's inaugural ball in 1961, ushered in what's become known as the era of "Camelot" in the White House.
Kennedy and his wife welcomed their first child, Caroline, on Nov. 27, 1957. Here, they are pictured aboard the "Honey Fitz" off the coast of Hyannis Port, Mass., in 1963.
Their son, John F. Kennedy, Jr., was born on Nov. 25, 1960.
The family poses on the porch of the Kennedy family compound in Hyannis Port in August 1962.
In one of the more famous shots during Kennedy's presidency, John peeks out from under his father's desk in the Oval Office.
In April 1961, Kennedy ordered what became known as the "Bay of Pigs Invasion" in an attempt to overthrow the Fidel Castro regime in Cuba. It was unsuccessful.
One of the biggest issues that defined Kennedy's presidency was the Civil Rights Movement. Here, Kennedy addresses Americans from the Oval Office proposing the Civil Rights Act of 1964 that would revolutionise American society. The bill proposed equal access to public facilities, ending segregation in education and guaranteeing federal protection for voting rights.
Kennedy met with leaders of the March on Washington in August 1963.
Kennedy was also a big proponent of the U.S. space program, famously announcing his goal of landing a man on the Moon in a speech to a Joint Session of Congress on May 25, 1961. Here, he and astronaut John Glenn look inside the Friendship 7 space capsule.
Another famous moment of his presidency came in 1963, when Kennedy gave his "Ich bin ein Berliner" speech in West Berlin, underlining the support of the United States for democratic West Germany shortly after Soviet-supported East Germany erected the Berlin Wall. The speech is considered one of Kennedy's best and a notable moment of the Cold War.
In 1963, Kennedy visited Ireland. Here, his motorcade is seen on Patrick Street in Cork.
Along with all of his good deeds, Kennedy was also known for his extramarital affairs. Here, is seen with one of his paramours, Marilyn Monroe, and his brother, Robert Kennedy.
Kennedy would be assassinated on Nov. 22, 1963, just two years and 10 months into his first term. His was the seventh-shortest term as president.