He then moved to New Haven and started Yale University's Environmental and Natural Resource Economics program, from which he graduated earning his Master of Philosophy degree in 2010.
Is the above sentence correct? Is it correct to write that someone graduated from a university's program? The reason why I phrased it that way is that I want to avoid repeating environmental and natural resource economics, likeso:
He then moved to New Haven and started Yale University's Environmental and Natural Resource Economics program. In 2010 he graduated from the university with his Master of Philosophy in environmental and natural resource economics.