The civil war continued until royalist victories at the battles of Lincoln and Dover in 1217.