 He served as an Intelligence Officer during the Vietnam War.He graduated from the University of Virginia School of Law in 1976 and in 1977 was admitted to the Massachusetts bar.From 1977 to 1980, McNamara worked as an associate at Choate, Hall & Stewart.