Prime Minister Terauchi said he and his cabinet were to blame for the riots and they all resignation on 29 September 1918 . Taking responsibility for the collapse of public order , Prime Minister Terauchi and his cabinet resigned on 29 September 1918 .