 The O'Learys endowed the John O'Leary and Patricia Cepeda Fellowship for the Study of Latin America at Yale College.He served as a member of the Portland City Council 1975-82) and for a term as that city's largely ceremonial Mayor (1980–81).He ran unsuccessful candidate for the U.S. House from Maine's First Congressional District in 1982, losing in the Democratic primary.