 Zumalacárregui's death in 1835 changed the Carlists' fortunes.The Christinos found a capable general in Baldomero Espartero.His victory at the Battle of Luchana (1836) turned the tide of the war, and in 1839, the Convention of Vergara put an end to the first Carlist insurrection.