The Pepes tried to save their borders from the looters . They lost many people in this battle , but in the end they achieved a glorious victory .