 After the war, Gotō returned to the Home Ministry, but remained involved in overseas affairs, advising the new Japanese administration on Taiwan about health issues.In 1896, Kodama, now governor-general of Taiwan, asked Gotō to join him there, eventually making him the first civilian governor of the island in 1898.At the end of the war, Qing China ceded Formosa and the Pescadores (see modern-day Taiwan) to Japan via the Treaty of Shimonoseki.