Over a decade since the state’s top court ushered legal same-sex marriage into Massachusetts, the rest of the nation will soon follow suit. Advocates and politicians who’ve worked to win the debate over the last twelve years celebrated after the Supreme Court announced that it had found that same-sex marriage is protected under the constitution Friday.

Attorney General Maura Healey thanked the staff of her office and others who took part in the lengthy legal battle.

“It was a moving moment. So many people have fought so hard and so long to see this happen,” Healey said at a press conference.

After praising the work done by advocates over the years, Healey said there will be more battles to come in the fight for civil rights.

“On issues of transgender equality,we have work to do. On issues of racial disparity across the lines of housing and employment and wealth and the like, we have work to do,” Healey said.

Gov. Charlie Baker also supports gay marriage going national.

“The court did the right thing by simply saying that we are one nation and on an issue like this, across all fifty states, we should treat everybody with the same standard and the same equality and the same criteria,” Baker said at his own press conference.

One member of the Beacon Hill elite who may directly benefit from the ruling, at least if he travels to states that had bans against same-sex marriage, is Senate President Stanley Rosenberg. The Amherst Democrat is engaged to marry his partner Bryon Hefner. He told the press that he expected

the fight for marriage equality to take 50 years, not 12.

“People have to have a little bit of time to get their minds around the diversity of society and recognize that all people really are equal and all people really do have the same basic fundamental needs and desires and deserve the same respect and opportunity as everyone else,” Rosenberg said.

House Speaker Robert DeLeo also commended the court for its ruling, writing in a statement:

“As a society, one of our greatest responsibilities is to ensure that Americans are treated with equal respect and dignity,” and that he is “proud that Massachusetts led the way in fighting for same-sex marriage.”

Before leaving the press conference, Baker read a text message he had just received from his younger brother Alex, who is gay and married.

“What a goober,” Baker said, then quoted his brother, “the official first gay brother of the commonwealth is very happy today,” Baker said.