In 205BC Publius Scipio was given command of the legions in Sicily and allowed to enrol volunteers for his plan to end the war by an invasion of Africa. After landing in Africa in 204BC, he was joined by Masinissa and a force of Numidian cavalry. Scipio gave battle to and destroyed two large Carthaginian armies. After the second of these Syphax was pursued and taken prisoner by Masinissa at the Battle of Cirta; Masinissa then seized most of Syphax's kingdom with Roman help.