Race, state, and armed forces in independence-era Brazil: Bahia, 1790’s-1840’s