Between 1939 and 1945, the Royal Canadian Navy patrolled British Columbia waters and helped support the Allied war effort in the Pacific, while some Canadians and Canadian ships served with Britain's Royal Navy in the war against Japan in the Indian and Pacific Oceans.