Democrat Maura Healey was elected attorney general in Massachusetts on Tuesday, becoming the first openly gay attorney general in the country.

Healey won a competitive primary against former state Sen. Warren Tolman (D) earlier this year. She easily defeated Republican John Miller on Tuesday by a vote of 62 percent to 38 percent, according to an ABC affiliate in Boston.

EMILY's List, a progressive PAC that supports pro-choice Democratic women, helped Healey win her primary against Tolman and celebrated her historic win Tuesday night.

“Tonight, voters in Massachusetts decisively chose to elect progressive champion Maura Healey Attorney General,” said the group's president, Stephanie Schriock. “Maura has spent years fighting to expand rights and freedoms for women and families in Massachusetts. And now with the help of the EMILY’s List community – three million members strong – she can take that leadership to the next level."