he served in several cavalry regiments of madrid and zaragoza