 Pye returned to China at the end of World War II to become an intelligence officer with the U.S. Marines Corps, achieving the rank of second lieutenant.He returned to the United States to attend graduate school through the G.I.Bill at Yale University, where he was introduced to comparative politics by his mentor, political scientist Gabriel Almond.