University police in riot gear moved into the business building at about 4 a.m. where 20 demonstrators began protesting Wednesday morning.
In total, 30 people were arrested, but they were later cited and released.
More than 50 other students moved the protest out to 19th Avenue, and briefly stopped traffic. San Francisco police arrived and talked with them. They agreed to leave and not block traffic.