When the Leeward Maroons signed a peace treaty in 1740, they assisted the colonial authorities in pursuing runaway slaves who sought refuge in the Cockpit Country. However, these runaways allied with Trelawny Town during the Second Maroon War. When the Maroons of Trelawny Town were deported in 1796, the Maroons of Accompong had difficulty policing the Cockpit Country, and several communities of runaway slaves established themselves there. After the removal of the Trelawny Maroons, the colonial militia built a barracks at their village, which they renamed Maroon Town, Jamaica.