On 10 June 1945, the Australian 9th Division landed at Muara under Operation Oboe Six to recapture Borneo from the Japanese. They were supported by American air and naval units. Brunei town was bombed extensively and recaptured after three days of heavy fighting. Many buildings were destroyed, including the Mosque. The Japanese forces in Brunei, Borneo, and Sarawak, under Lieutenant-General Masao Baba, formally surrendered at Labuan on 10 September 1945. The British Military Administration took over from the Japanese and remained until July 1946.