Protesters gathered at Google's headquarters on Monday to protest immigration policies from the new federal administration, using hashtag "NoBanNoWall."

A crowd at the Mountain View, California headquarters, as well as offices in San Francisco, New York, Seattle, and around the world, held signs reading "Ban fascists, not religions," and "Free hugs for an Iranian." A person at the rally told CNBC that Google CEO Sundar Pichai and cofounder Sergey Brin spoke there, and Brin expressed gratitude for being admitted to the United States from the Soviet Union during the Cold War.

Here's a picture of Pichai and Brin speaking.

The demonstration was organized by employees, and more than 2,000 attended, according to a person who was there.

The demonstration came after a executive order restricting travel from seven Muslim-majority nations and indefinitely banning Syrian refugees spurred protests over the weekend at airports around the country. Google established a $4 million fund for the Immigrant Legal Resource Center, International Rescue Committee, UNHCR and American Civil Liberties Union, (one of the main organizations fighting the ban).

The keynote speaker at Google's Mountain View headquarters was Soufi Esmaeilzadeh, a product manager on Google Assistant, who was on a plane from San Francisco to Zurich when rumors began to leak that the executive order would be signed.