Lyndon Baines Johnson , often referred to as LBJ, was the 36th President of the United States , a position he assumed after his service as the 37th Vice President of the United States . He is one of only four people who served in all four elected federal offices of the United States: Representative, Senator, Vice President, and President. Johnson, a Democrat from Texas, served as a United States Representative from 1937 to 1949 and as a Senator from 1949 to 1961, including six years as United States Senate Majority Leader, two as Senate Minority Leader and two as Senate Majority Whip. After campaigning unsuccessfully for the Democratic nomination in 1960, Johnson was asked by John F. Kennedy to be his running mate for the 1960 presidential election. After their election, Johnson succeeded to the presidency following President Kennedy's assassination on November 22, 1963, completed Kennedy's term and was elected President in his own right, winning by a large margin over Barry Goldwater in the 1964 election.