After the war, Kennedy represented the Massachusetts's 11th congressional district in the U.S. House of Representatives from 1947 to 1953. He was subsequently elected to the U.S. Senate and served as the junior Senator from Massachusetts from 1953 to 1960. Kennedy lived in Brookline for the first ten years of his life and attended the local St. Aidan's Church, where he was baptized on June 19, 1917. He was educated at the Edward Devotion School in Brookline, the Noble and Greenough Lower School in Dedham, Massachusetts, and the Dexter School (also in Brookline) through the 4th grade.