The present invention relates to compositions and methods for generating populations of tissue precursor cells from pluripotent cells, and preferably induction of stem cells into definitive endoderm to generate anterior foregut endoderm from pluripotent cells. The anterior foregut endoderm cells can then be differentiated into an alveolar epithelial type II cell.