Democratic Rep. Edward Markey defeated Republican candidate Gabriel Gomez in the special election in Massachusetts for John Kerry's vacated Senate seat.