In 1945, after the coup against French colonial rule, the Japanese offered Diệm the post of prime minister in the Empire of Vietnam under Bảo Đại, which they organized on leaving the country. He declined initially, but reconsidered his decision and attempted to reverse the refusal. However, Bảo Đại had already given the post to Trần Trọng Kim. In September 1945, after the Japanese withdrawal, Hồ Chí Minh proclaimed the Democratic Republic of Vietnam, and in the Northern half of Vietnam, his Việt Minh began fighting the French. Diệm attempted to travel to Huế to dissuade Bảo Đại from joining Hồ, but was arrested by the Việt Minh along the way and exiled to a highland village near the border. He might have died of malaria, dysentery, and influenza had the local tribesmen not nursed him back to health. Six months later, he was taken to meet Hồ, who recognized Diệm's virtues and, wanting to extend the support for his new government, asked Diệm to be minister of the interior. Diệm refused to join the Việt Minh, assailing Hồ for the murder of his brother Ngô Đình Khôi by Việt Minh cadres.