 The port was briefly under command of two Brigadier Generals, William V. Judson and George H. McManus from 9 September 1918 until General Shanks resumed command on 5 December 1918.In the early stages of the port's operation during World War I the cargo functions were located in Brooklyn and New Jersey with troop movements largely out of Hoboken, where the command was located, and nearby Manhattan piers seized from German lines with passenger facilities.By war's end the NYPOE, again under Major General David C. Shanks, had expanded to a staff of 2,500 officers, embarkation camps, hospitals, twelve piers and seven warehouses in Hoboken, in Brooklyn eight piers and 120 warehouses of which six piers were also Bush Terminal Company assets, and two Army Supply Base warehouses and, in the North River, Manhattan three piers covering a total of fifty-seven acres.