During World War II, Bermuda's importance as a military base increased because of its location on the major trans-Atlantic shipping route. The Royal Naval dockyard on Ireland Island played a role similar to that it had during World War I, overseeing the formation of trans-Atlantic convoys composed of hundreds of ships. The military garrison, which included four local territorial units, maintained a guard against potential enemy attacks on the Island.