Comanches eventually learned how to minimize the advantage of single-shot firearms. Meanwhile, the Pawnee and Osage had their own horses, many of them stolen from Comanches. A major war erupted in 1746 between Comanches and the Osage and Pawnee. In 1750 the Wichita arranged a truce between the Comanches and Pawnee. The immediate effect was to allow the Pawnee and Comanches to ally and defeat the Osage in 1751. Afterwards, the Pawnee left Kansas and moved north to the Platte Valley in Nebraska. At about the same time the Comanches were moving south to the Staked Plains or concentrating closer to the Arkansas River. Despite the physical separation, Pawnees still traveled great distances to steal Comanche horses in Texas and New Mexico. They usually went out on foot and rode back, if successful. The result was more fighting between Comanches and Pawnee (1790–1793 and 1803).