City Council Speaker Melissa Mark-Viverito was arrested Tuesday while protesting outside of Trump Tower.

Police said they took Mark-Viverito into custody for blocking traffic at 57th St. and 5th Ave., a block away from President Trump's Midtown home.

Mark-Viverito was among a crowd of elected officials and activists speaking out against Trump's threat to roll back the protections for some 800,000 undocumented immigrants, and end the Deferred Action for Childhood Arrivals (DACA) program. The Obama-era policy allows undocumented immigrants who brought to the county as children to stay legally.

Three Hispanic members of Congress, Adriano Espaillat of Washington Heights, Luis Gutierrez of Illinois, and Raul Grijalva of Arizona were arrested with Mark-Viverito.

President Trump was inside Trump Tower at the time of the arrests.

Demonstrators lined the streets of 5th Ave., pressuring Congress to pass the DREAM Act and extend protections for immigrants under DACA.

Organizers said they wanted to send a message to Trump while he is in town.

"It's a larger issue of standing up with other elected officials and national leaders to say that the path that this administration is going on is counter to what the majority want to see happen," Mark-Viverito said.

Mark-Viverito and Espaillat will likely be charged with disorderly conduct.

The immigration advocacy group Make the Road New York organized the march. Trump's return to New York to address the UN General Assembly convinced organizers at the group and New York Communities for Change, to hold their rally this week.

Some said they knew, beforehand, that they risked being taken into police custody. 

After vowing to end DACA, the president said he reached an agreement with Democratic leaders to protect the young immigrants in return for enhanced border security. But a deal has not been finalized.

Mark-Viverito and the other protesters said they want Congress to pass, without any conditions, a law giving a path to citizenship to all undocumented immigrants who were brought into the Unites States as children.