Demonstrators clashed with police in Dakar on Friday, as they protested against a draft anti-terrorism law and a reform to the penal code proposed by the government.
Security forces were deployed outside the National Assembly, where the law was being debated, and at various points in the city since early on Friday.
At the University Cheikh Anta Diop, protesters threw objects towards the police who responded using tear gas.
Lawmakers have been debating the anti-terrorist legislative framework and reform of the penal code, with supporters arguing it is necessary to effectively fight extremism affecting some parts of West Africa.
Opponents of President Macky Sall say it could be used to silence the opposition.