The modern Armed Forces of Liberia grew out of a militia that was formed by the first black colonists from the United States. The militia was first formed when in August 1822 an attack was feared on Cape Mesurado (where Monrovia now is) and the agent of the settlements directed the mobilization of all "able-bodied males into a militia and declared martial law." By 1846, the size of the militia had grown to two regiments. Following independence in 1847, the militia continued to serve as the country's defense force. In 1900, Liberian men between the ages of sixteen and fifty were considered liable for service in the militia. The militia also had a navy consisting of two small gunboats. In the 1850s, the Liberian president requested naval support from the British government to transport Liberian troops to the Gallinas territory to punish Liberians there who persisted in slave trafficking.