He has represented the state of Massachusetts in the Senate since 1962 and is the only surviving brother of the late President John Kennedy .