During the American Revolution, African Americans were not able to fight for the colonies. George Washington decreed that African Americans could not enlist in the Continental Army.
The British noticed that and were able to coop the African Americans to fight for them by promising them freedom. Over 800 slaves escaped their masters to join the British Army looking for their freedom.