It was a new look for the White House: illuminated in rainbow colors to celebrate the Supreme Court decision allowing same-sex marriage nationwide.

President Barack Obama, who was inside, felt the glow on that June night in 2015.

To LGBT Activists, Obama Will Always Be a Champion

"To see people gathered in the evening outside on a beautiful summer night, and to feel whole and to feel accepted, and to feel that they had a right to love — that was pretty cool," he said a few days later.

To LGBT Activists, Obama Will Always Be a Champion

"Pretty cool." That might be a fair description of how Obama himself is viewed by legions of lesbian, gay, bisexual and transgender Americans who consider him, among all of the nation's presidents, the greatest champion of their rights and well-being.

To LGBT Activists, Obama Will Always Be a Champion

The relationship was slow in developing.

Obama took office in 2009 as a self-described "fierce advocate" for gay rights, yet for much of his first term drew flak from impatient, skeptical activists who viewed him as too cautious, too politically expedient. They were frustrated he wouldn't endorse same-sex marriage — Obama cagily said he was "evolving" — and wanted him to move faster on several other issues. But the pace of Obama's actions steadily accelerated.

In December 2010, he signed legislation enabling gays and lesbians to serve openly in the military. In 2011, he directed government agencies to combat LGBT rights abuses internationally. By May 2012, soon after Vice President Joe Biden set the example, Obama endorsed gay marriage.

His administration also stopped defending the Defense of Marriage Act, which denied federal recognition to same-sex couples. That move helped clear the way for the Supreme Court's historic same-sex marriage ruling in 2015.

In the nationwide marriage debate, Obama was not a pace-setter. A Gallup poll showed a majority of Americans supporting same-sex marriage a year before he did. But rather than pause at that stage, the president continued throughout his two terms to find ways to support the LGBT community, even when Congress was in partisan deadlock.

According to a tally by the Human Rights Campaign, Obama's administration has made more than 125 changes to regulations and policies to expand LGBT rights, and Obama appointed more than 250 openly LGBT people to federal positions, including 15 judicial appointments and nine high-level diplomatic posts.

Kate Kendell, executive director of the National Center for Lesbian Rights, said the policy achievements tell only part of the story.

"More than all of this, he honestly and without reservation embraced and celebrated our community as part of the human family," she said. "He was not perfect, but he leaves a legacy that will be hard to beat."

In the past year alone, there were several telling moments.

On June 16, Obama traveled to Orlando, Florida, to meet with the families of the 49 people killed four days earlier by a rampaging gunman at an LGBT nightclub.

"This was an attack on the LGBT community," Obama said. "Americans were targeted because we're a country that has learned to welcome everyone, no matter who you are or who you love."

Eight days later, Obama designated the first national monument honoring LGBT rights: the site of the Stonewall Inn in New York City, where a 1969 community uprising in response to a police raid helped energize LGBT activism nationwide.

And in November, Obama gave a warm embrace to Ellen DeGeneres, who boldly came out as a lesbian in 1997, while awarding her the Presidential Medal of Freedom. "Her courage and candor helped change the hearts and minds of millions of Americans," said the White House citation.

While supporters of LGBT rights are extolling Obama's record, some religious conservatives say the president went too far in some cases, infringing on the religious liberties of Americans whose faiths disapprove of same-sex marriage.

"The Obama administration has waged an aggressive and unnecessary culture war," Ryan Anderson, a senior research fellow at the Heritage Foundation, wrote in a recent column.

He urged President-elect Donald Trump to make clear that his incoming administration "will never penalize any individual or institution because they believe and act on the belief that marriage is the union of husband and wife."

Professor and author Ed Stetzer, executive director of the Billy Graham Center for Evangelism at Wheaton College, recalled how Obama had reached out to evangelicals during his first presidential campaign in 2008 — an outreach that troubled LGBT activists. But Stetzer said many evangelicals became disenchanted by Obama's later advocacy of same-sex marriage.