Why did the US military switch from a .45 ACP to the 9mm?

I just think that it would make more sense to stay at the .45 ACP than to switch to the weaker 9mm. They didn't have to keep the Colt, but wouldn't it be wiser to keep the stronger and all round better round?
10 answers 10