ملحق عسكري
In 1884, Cervera supervised the construction of a series of blockhouses around Melilla. Between 1888 and 1890, he served as Military attaché in the Embassy of Spain in Tangiers.