he moved to spain and completed his military career in toledo