Europe was left in an upheaval after the Napoleonic Wars and the use of steam was critical at this point in time.
Prussia was the first nation to build steam powered war machines.