During the American Revolution, African Americans played important roles on both the Patriot and Loyalist sides, serving as soldiers and spies. Each side offered African Americans freedom from slavery in return for their support.