The British were charged with restoring order and civilian government in Java. The Dutch took this to mean pre-war colonial administration and continued to claim sovereignty over Indonesia. The British and Indian troops did not, however, land on Java to accept the Japanese surrender until late September 1945. Lord Mountbatten's immediate tasks included the repatriation of some 300,000 Japanese, and freeing prisoners of war. He did not want, nor did he have the resources, to commit his troops to a long struggle to regain Indonesia for the Dutch. The first British troops reached Jakarta in late September 1945, and arrived in the cities of Medan (North Sumatra), Padang (West Sumatra), Palembang (South Sumatra), Semarang (Central Java) and Surabaya (East Java) in October. In an attempt to avoid clashes with Indonesians, the British commander Lieutenant General Sir Philip Christison diverted soldiers of the former Dutch colonial army to eastern Indonesia, where Dutch reoccupation was proceeding smoothly. Tensions mounted as Allied troops entered Java and Sumatra; clashes broke out between Republicans and their perceived enemies, namely Dutch prisoners, Dutch colonial troops (KNIL), Chinese, Indo-Europeans and Japanese.