Thousands thronged the capital’s cobbled streets amid tear gas and fireworks to call for an independent government.