Days of violent anti-government protests also saw nearly 6,000 people arrested, officials say.