What country had to give up ruling Korea after World War II?