 In April 1894 Martínez de Campos, in addition to his military command, was appointed Ambassador to Morocco and negotiated peace directly with the Sultan.European powers watched Spain's campaigns against the Rif closely.France, seeking an ally for her own designs on the region, encouraged Spanish territorial expansion at the expense of Morocco.