When did Japan begin invading Korea?