After securing election as consul in 80 BC, Sulla resigned the dictatorship and attempted to solidify his republican constitutional reforms. Sulla's reforms proved unworkable. The first years of Sulla's new republic were faced not only the continuation of the civil war against Quintus Sertorius in Spain, but also a revolt in 78 BC by the then-consul Marcus Aemilius Lepidus. With significant popular unrest, the tribunate's powers were quickly restored by 70 BC by Sulla's own lieutenants': Pompey and Crassus. Sulla passed legislation to make it illegal to march on Rome as he had, but having just shown that doing so would bring no personal harm so long as one was victorious, this obviously had little effect. Sulla's actions and civil war fundamentally weakened the authority of the constitution and created a clear precedent that an ambitious general could make an end-run around the entire republican constitution simply by force of arms. The stronger law courts created by Sulla, along with reforms to provincial administration that forced consuls to stay in the city for the duration of their terms (rather than running to their provincial commands upon election), also weakened the republic: the stringent punishments of the courts helped to destabilise, as commanders would rather start civil wars than subject themselves to them, and the presence of both consuls in the city increased chances of deadlock. Many Romans also followed Sulla's example and turned down provincial commands, concentrating military experience and glory into an even smaller circle of leading generals.