At what point did the gun completely replace the sword as the main weapon of war?

by bruik1
Searocksandtrees