Japan had an official slave system from the Yamato period (3rd century A.D.) until Toyotomi Hideyoshi abolished it in 1590. Afterwards, the Japanese government facilitated the use of "comfort women" as sex slaves from 1932 – 1945. Prisoners of war captured by the Japanese were also used as slaves during the Second World War.