Tự Đức
Perhaps the most important factor in Tự Đức's decision to make peace was the threat posed to his authority by a serious uprising in Tonkin led by the Catholic nobleman Le Bao Phung, who claimed descent from the old Lê dynasty. Although the French and Spanish rejected Le's offer of an alliance against Tự Đức, the insurgents in Tonkin were able to inflict several defeats on Vietnamese government forces. The end of the war with France and Spain allowed Tự Đức to overwhelm the insurgents in Tonkin and restore government control there. Le Bao Phung was eventually captured, tortured and put to death.