Thanks Murat. The paintings you are referring to are depicting the multiple desperate charges of the cavalry unit Cazadores de Alcántara against Riffian Berbers to protect the routing Spanish forces at Annual. They suffered tremendous loses - 28 of 32 officers and 523 of 685 cavalrymen dead.
Cazadores de Alcántara, 14th Cavalry is the only regiment of the Spanish Army that was collectively granted the Grand Cross Laureate of San Fernando. This medal of distinction, is the highest military decoration that can be granted in Spain.