Towards the end of 1945, Australian commandos were deployed to the island by US submarines with the Allied Z Special Unit conducting intelligence operations and training thousands of indigenous people to fight the Japanese in guerrilla warfare in the Borneo Campaign in preparation for the arrival of the main Allied liberation missions. Following landings in North Borneo and Labuan from 10June 1945 by a combination of Australian and American forces, the island of Borneo was liberated. The British Military Administration formally took over from the Japanese on 12September 1945.