Ryukyu's direct control lasted just over 170 years. Trade with Ming Dynasty China, which flourished in the Azuchi-Momoyama period, led Shimazu Tadatsune, the ruler of Satsuma Domain in southern Kyushu, to invade the Ryukyu Kingdom in order to gain control of the shipping routes between Japan and China. In April 1609, Shimazu launched an invasion of the Ryukyu Kingdom. They landed on Amami Ōshima, then Tokuno, Okinoerabu, and Okinawa itself. Satsuma met fierce resistance, but eventually defeated Ryukyu, by capturing the capital of Shuri.