How Long was John F Kennedy President?

John F Kennedy was President for 2 years until his assassination. He was in office from January 20, 1961 until November 22, 1963. He was the 35th President.