New York City students abandoned their studies on Tuesday to rally against President Donald Trump's executive order temporarily banning refugees as well as travelers from seven Muslim-majority nations.

Students walked out of their classes around noon and headed for a rally at Foley Square in downtown Manhattan.

Public Advocate Letitia James spoke to the crowd around 2 p.m., encouraging them to continue to resist Trump's administration.

Scroll down to see photos from the protest.

Students gather in Foley Square in downtown Manhattan
Students gather in Foley Square in downtown Manhattan after a walkout from classes to protest President Donald Trump's policies on Feb. 7, 2017. (Credit: Charles Eckert)
Students gather in Foley Square in downtown Manhattan
Students gather in Foley Square in downtown Manhattan after a walkout to protest President Donald Trump's policies on Feb. 7, 2017. (Credit: Charles Eckert)
Students gather in Foley Square in downtown Manhattan
Students gather in Foley Square in downtown Manhattan after a walkout to protest President Donald Trump's policies on Feb. 7, 2017. (Credit: Charles Eckert)

ADVERTISEMENT

ADVERTISE HERE
Students gather in Foley Square in downtown Manhattan
Students gather in Foley Square in downtown Manhattan after a walkout to protest President Donald Trump's policies on Feb. 7, 2017. (Credit: Charles Eckert)
Students gather in Foley Square in downtown Manhattan
Students gather in Foley Square in downtown Manhattan after a walkout to protest President Donald Trump's policies on Feb. 7, 2017. (Credit: Charles Eckert)
Students protest at Foley Square in downtown Manhattan
Students protest at Foley Square in downtown Manhattan on Feb. 7, 2017 against President Donald Trump's immigration travel ban. (Credit: Charles Eckert)
Students gather in Foley Square in downtown Manhattan
Students gather in Foley Square in downtown Manhattan after a walkout to protest President Donald Trump's policies on Feb. 7, 2017. (Credit: Charles Eckert)
Students gather in Foley Square in downtown Manhattan
Students gather in Foley Square in downtown Manhattan after a walkout to protest President Donald Trump's policies on Feb. 7, 2017. (Credit: Charles Eckert)

ADVERTISEMENT

ADVERTISE HERE
A protester holds a sign during a student
A protester holds a sign during a student walkout and rally in Foley Square over President Donald Trump's policies on Feb. 7, 2017. (Credit: Getty Images / Spencer Platt)
Protesters hold a sign during a student walkout
Protesters hold a sign during a student walkout and rally in Foley Square over President Donald Trump's policies on Feb. 7, 2017. (Credit: Getty Images / Spencer Platt)
Student protesters gather in Foley Square to demonstrate
Student protesters gather in Foley Square to demonstrate against President Donald Trump's policies after walking out of class on Feb. 7, 2017. (Credit: Getty Images / Spencer Platt)
A protester holds a sign during a student
A protester holds a sign during a student walkout and rally in Foley Square over President Donald Trump's policies on Feb. 7, 2017. (Credit: Getty Images / Spencer Platt)
Students gather in Foley Square in protest of
Students gather in Foley Square in protest of President Donald Trump's policies after walking out of classes on Feb. 7, 2017. (Credit: Getty Images / Spencer Platt)

ADVERTISEMENT

ADVERTISE HERE
Demonstrators chant during a student walkout and rally
Demonstrators chant during a student walkout and rally in Foley Square against President Donald Trump on Feb. 7, 2017. (Credit: Getty Images / Spencer Platt)
A protester holds a sign during a student
A protester holds a sign during a student walkout and rally in Foley Square over President Donald Trump's policies on Feb. 7, 2017. (Credit: Getty Images / Spencer Platt)
A student holds a notebook with protest slogans
A student holds a notebook with protest slogans on it after walking out of class to rally against President Donald Trump's policies in Foley Square on Feb. 7, 2017. (Credit: Getty Images / Spencer Platt)
Students rally against President Donald Trump in Foley
Students rally against President Donald Trump in Foley Square after walking out of classes on Feb. 7, 2017. (Credit: Getty Images / Spencer Platt)
New York City students protest President Donald Trump's
New York City students protest President Donald Trump's immigration travel ban in Foley Square after walking out of classes on Feb. 7, 2017. (Credit: Reuters / Mike Segar)
Students protest at Foley Square in downtown Manhattan
Students protest at Foley Square in downtown Manhattan on Feb. 7, 2017 against President Donald Trump's immigration travel ban. (Credit: Reuters / Mike Segar)
A student demonstrator holds a sign supporting immigrants
A student demonstrator holds a sign supporting immigrants during a protest in Foley Square on Feb. 7, 2017, over President Donald Trump's immigration travel ban. (Credit: Reuters / Mike Segar)
Students walk out of classes to protest President
Students walk out of classes to protest President Donald Trump's immigration travel ban in Foley Square on Feb. 7, 2017. (Credit: Reuters / Mike Segar)
New York City students rally in Foley Square
New York City students rally in Foley Square in Manhattan on Feb. 7, 2017, as part of a citywide walkout in protest over President Donald Trump's immigration travel ban. (Credit: Reuters / Mike Segar)
Students, many of whom left their high school
Students, many of whom left their high school classes, protest at Foley Square in downtown Manhattan on Feb. 7, 2017 against President Donald Trump's immigration travel ban. (Credit: Mike Segar / Reuters)
Students protest at Foley Square in downtown Manhattan
Students protest at Foley Square in downtown Manhattan on Feb. 7, 2017 against President Donald Trump's immigration travel ban. (Credit: Nicole Brown)
Students protest at Foley Square in downtown Manhattan
Students protest at Foley Square in downtown Manhattan on Feb. 7, 2017 against President Donald Trump's immigration travel ban. (Credit: Nicole Brown)