his first actions took place in the moroccan war