Tonight, VP-Elect Mike Pence attended #HamiltonBway. After the show, @BrandonVDixon delivered the following statement on behalf of the show. pic.twitter.com/Jsg9Q1pMZs — Hamilton (@HamiltonMusical) November 19, 2016

NEW YORK — “Hamilton,” the hit Broadway musical about colonial rebels shaping the future of an unformed country, took an even more political turn during its performance on Friday night.

With Vice President-elect Mike Pence attending the show, the cast used the opportunity to make a statement emphasizing the need for the new administration of President-elect Donald Trump, a Republican, to work on behalf of all Americans.

As the play ended, the actor who played Aaron Burr, Brandon Victor Dixon, addressed Pence. Dixon thanked him for attending and said, “We hope you will hear us out.”

Advertisement

“We, sir — we — are the diverse America who are alarmed and anxious that your new administration will not protect us,” he said. “We truly hope that this show has inspired you to uphold our American values and to work on behalf all of us.” The audience broke out in wild applause.

Get The Weekender in your inbox: The Globe's top picks for what to see and do each weekend, in Boston and beyond. Sign Up Thank you for signing up! Sign up for more newsletters here

On Saturday morning, Donald Trump responded with tweets calling for the cast of the show to apologize and he said that Pence was harassed.

The Theater must always be a safe and special place.The cast of Hamilton was very rude last night to a very good man, Mike Pence. Apologize! — Donald J. Trump (@realDonaldTrump) November 19, 2016

Our wonderful future V.P. Mike Pence was harassed last night at the theater by the cast of Hamilton, cameras blazing.This should not happen! — Donald J. Trump (@realDonaldTrump) November 19, 2016

Dixon tweeted a response to Trump, saying conversation does not constitute harassment and adding that he appreciated that Pence stopped to listen.

@realDonaldTrump conversation is not harassment sir. And I appreciate @mike_pence for stopping to listen. — Brandon Victor Dixon (@BrandonVDixon) November 19, 2016

Later in the day, Trump criticized Dixon in a tweet that he deleted, saying the “Hamilton” cast member was rude and suggesting that he couldn’t memorize his lines.

When Pence entered the Richard Rodgers Theater in Manhattan, he was greeted with a mix of applause and booing, according to theatergoers who posted on Twitter.

Trump deleted this tweet on Saturday.

Advertisement

The audience gave a standing ovation during the play at the line, “Immigrants, we get the job done,” one theatergoer, Christy Colburn, wrote on Twitter.

She added: “Crowd went NUTS at King George’s lines ‘when people say they hate you’ & ‘do you know how hard it is to lead?’ He had to stop the song.”

Rory O’Malley, who played King George, was said to stop the show with his lines, “It’s harder when it’s your call,” and moments later with, “When people say they hate you, don’t come crawling back to me.”

Photos from Friday night’s Hamilton in New York

Andres Kudacki/Associated Press Vice President-elect Mike Pence, top center, left the Richard Rodgers Theatre after a performance of "Hamilton," in New York on Friday.

Andres Kudacki/Associated Press Heavily armed police stood guard as a motorcade carrying Vice President-elect Mike Pence, center, leaves the Richard Rodgers Theatre after a performance of "Hamilton" in New York.

Andres Kudacki/Associated Press Protesters shouted slogans at Vice President-elect Mike Pence as he left the Richard Rodgers Theatre after a performance of "Hamilton," in New York.