. "part of such territory as a state, such lands pass ipso" . . .