 Later, the Aragonese governor, Leonardo Alagon, rebelled and was also able to beat the king's troops at Uras in 1470.However, his defeat at the Battle of Macomer (1478) put a definitive end to the independence of Arborea and Sardinia.Arborea was divided into thirteen (at times, fourteen) or "partes" (sing.