With Yi stripped of influence and negotiations breaking down in 1596, Hideyoshi again ordered an attack on Joseon. The second Japanese invasion landed in the first month of 1597 with a force of 140,000 men transported on 1000 ships. In response, Ming China sent thousands of reinforcements to aid Joseon. With the help of the Ming, the Joseon army was able to halt the Japanese offensive and push it back during the winter of 1597, before the Japanese were able to reach the Joseon capitol of Hanseong.