The Dahomey Amazons were a Fon all-female military regiment of the Kingdom of Dahomey which existed until 1904. They were so named by Western observers and historians due to their similarity to the mythical Amazons of ancient Anatolia and the Black Sea. This unusual emergence of an all-female military regiment was the result of Dahomey's male population facing high casualties in frequent warfare with neighboring West African states, as well as Dahomey being forced to annually give male slaves to the Oyo Empire. The lack of men likely led the kings of Dahomey to recruit women into the army.
Source