Pedro Antonio de Aragón - Duke of Sogorb (Segorbe), Count of Empúries, military figure and politician