He has served in the senate for 23 years and has also served as the lieutenant governor of Massachusetts under Michael Dukakis . Before entering the Senate , he served as an Assistant District Attorney and Lieutenant Governor of Massachusetts under Michael Dukakis , who ran for President in 1988 .