The war to which the question refers was the Texas Revolution.
Explanation:
The Texas Revolution was fought from October 2, 1835 and April 21, 1836 between Mexico and Texas in the Mexican state of Coahuila y Tejas.
The revolution was triggered by the president of Mexico in 1835 rejecting the previous constitution of 1824 and proclaiming a new one of 1835, which was more anti-federalist. Riots erupted throughout Mexico. The result of the fighting in the Texas area was the proclamation of a new state: the Republic of Texas.
The leaders in Africa wanted guns but the slaves themselves wanted guns to protect themselves from being captured and sold into slavery. All the guns were being sold by EU and Americas.