On June 25, 2013, 19-term U.S. Rep. Ed Markey (D-MA) defeated Republican Gabriel Gomez in the special election to fill the remaining 18-months of the unexpired term of the Class II United States Senate seat caused by Sen. John Kerry's confirmation as Secretary of State.