Leading major generals from Pennsylvania included Winfield S. Hancock, John F. Reynolds, Samuel W. Crawford, John W. Geary, and John F. Hartranft (the latter two would use their military careers to propel them to the governorship following the war). Although he was born in Spain, George G. Meade lived much of his life in Pennsylvania and is buried in Philadelphia. Herman Haupt, who commanded the U.S. Military Railroad, revolutionized military transportation in the United States and was one of the unsung heroes of the war. Significant naval leaders included Admiral David D. Porter and Rear Admiral John Dahlgren.