In lung cancer, STK11 loss causes a metastasis-like subpopulation of cancer cells in primary tumors and metastases to activate the early endodermal transcription factor, Sox17. Here, SOX17 is linked to lung cancer.