Complex sentence: Following this, mostly military men, not lawyers, were appointed governors-captains general, assisted by a legal advisor ("asesor") in their judicial and administrative duties.
Split into simpler sentences: Following this, mostly military men, rather than lawyers, were appointed as governors-captains general. They were assisted by a legal adviser ("asesor") in their judicial and administrative duties.