When Lady Gaga performed the national anthem at President Biden’s swearing-in ceremony on Wednesday, it was the culmination of a years-long relationship in which the two have shared the spotlight.
Before the inauguration, Lady Gaga said on Twitter that she was honored to sing “The Star-Spangled Banner” at Mr. Biden’s inauguration, which she called “a ceremony, a transition, a moment of change.”
In a second tweet, she added: “My intention is to acknowledge our past, be healing for our present, and passionate for a future where we work together lovingly. I will sing to the hearts of all people who live on this land.”
At the Capitol, she wore an oversized gold pin depicting a dove with an olive branch, as she sang into a golden microphone while Mr. Biden looked on.
May we all make peace with each other,” she said later on Twitter.
Lady Gaga campaigned in November with Mr. Biden in Pennsylvania, a key battleground state that he won. The evening before Election Day, she performed at the Biden campaign’s final rally.
Her appearance drew criticism from President Donald J. Trump’s campaign, which accused her of being an anti-fracking activist, and from Mr. Trump himself.
“Lady Gaga is not too good,” Mr. Trump said at a rally in November. “I could tell you plenty of stories. I could tell you stories about Lady Gaga. I know a lot of stories.” He did not elaborate.
The singer’s ties to Mr. Biden date back to his time as vice president, when they worked together on the White House’s campaign to fight sexual assault on college campuses.
In 2016, Mr. Biden introduced Lady Gaga at the Academy Awards, where he plugged the campaign against sexual assault and she performed her song “Til It Happens to You,” made for a documentary about that issue. The two later appeared together to promote the White House’s campaign. In 2017, after Mr. Biden left office, they also filmed a public service announcement about sexual assault.