Mayor Eric Adams attended President Donald Trump’s inauguration Monday in Washington, D.C.

The mayor received an invitation to the event after midnight Sunday, and left the city for D.C. at approximately 3 a.m., Fabien Levy, the mayor’s press secretary, said in a statement on X.

A source told NY1 the invite came after midnight from the president’s special envoy to the Middle East, Steve Witkoff.

The mayor canceled all his previously scheduled events for the day, which included attending multiple Martin Luther King Jr. celebrations across the city.

The invitation came just two days after the mayor had lunch with Trump, Witkoff, Eric Trump and Frank Carone, the mayor’s former chief of staff, in Mar-a-Lago, Florida.

According to the mayor, his conversation with Trump focused on the ceasefire agreement between Israel and Hamas and its impact on public safety, bringing manufacturing jobs to New York and federal investments within the five boroughs.

The mayor, who faces a five-count indictment, said he and Trump did not discuss his case.

"To be clear, we did not discuss my legal case, and those who suggest the mayor of the largest city in the nation shouldn't meet with the incoming president to discuss our city's priorities because of inaccurate speculation or because we're from different parties clearly care more about politics than people,” he wrote in a statement after the meeting.

Trump has publicly mused about considering pardoning Adams if he were convicted.

Nonetheless, his trip Monday sparked quick criticism back at home.

“We see a person being inaugurated who couldn’t be further away from the legacy of Dr. King. And also seeing a sitting mayor instead of staying in New York City, trying to help New Yorkers that are most concerned, going to that inauguration,” Public Advocate Jumaane Williams said.

On Monday, Adams was with some previously known allies, such as cryptocurrency entrepreneur and Trump supporter Brock Pierce and others.

South Carolina Pastor and televangelist Mark Burns said on social media platform X he was hosting the mayor and was excited to bring Americans together for an “America First Agenda.”

Burns has created controversy in the past for threatening rhetoric toward the LGBTQ community, including saying parents and teachers who speak to children about those issues are a national security threat.