After Japan unconditionally surrendered and the Wang Jingwei regime collapsed, Wen Tsung-yao was arrested by the Nationalist Government in Shanghai on September 27, 1945. On July 8, he was sentenced to life imprisonment on the charge of treason ("Hanjian").