Thousands of police and paramilitary personnel were deployed across the city.