Some Korean slaves in Japan who had been among the thousands of prisoners of war taken during the Japanese invasions of Korea (1592–98) were bought by the Portuguese and taken to Portugal.[64][65] Fillippo Sassetti saw some Chinese and Japanese slaves in Lisbon among the large slave community in 1578, although most of the slaves were African.[66][67][68][69][70] The Portuguese "highly regarded" Asian slaves like Chinese and Japanese, much more "than slaves from sub-Saharan Africa".[71][72] The Portuguese attributed qualities like intelligence and industriousness to Chinese and Japanese slaves which is why they favored them more.[73][74][75][76] In 1595 a law was passed by Portugal banning the sale of Chinese and Japanese slaves.[77]