 After completing a course of instruction at the Marine Officers School, Norfolk, Virginia, he was ordered to sea duty as commanding officer of the Marine detachment aboard the .He was promoted to the rank of captain in October 1917.In September 1918, Hart was transferred from sea duty, and in October 1918, he sailed for France as commanding officer, Company "B", Machine Gun Battalion, Fifth Brigade.