Kennedy was born into a wealthy, political family in Brookline, Massachusetts. After serving in the U.S. Naval Reserve from 1944 to 1946, Kennedy returned to his studies at Harvard University, and later received his law degree from the University of Virginia. He began his career as a correspondent for "The Boston Post" and as an assistant U.S. attorney for the Eastern District of New York, but later resigned to manage his brother John's successful campaign for the U.S. Senate in 1952. The following year, he worked as an assistant counsel to the Senate committee chaired by Senator Joseph McCarthy. He gained national attention as the chief counsel of the Senate Labor Rackets Committee from 1957 to 1959, where he publicly challenged Teamsters President Jimmy Hoffa over the union's corrupt practices. Kennedy resigned from the committee to conduct his brother's successful campaign in the 1960 presidential election. He was appointed United States Attorney General at the age of 36, becoming the youngest Cabinet member in U.S. history since Alexander Hamilton in 1789. He served as his brother's closest advisor until the latter's 1963 assassination.