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