The head of the John F. Kennedy Library Foundation has resigned to take a consulting job at Harvard.

Heather Campion served two years as CEO of the nonprofit organization supporting the presidential library. Her tenure became controversial after a staff member was fired and a number resigned. The foundation also enlisted an outside consultant.

The foundation will conduct a national search for Campion's replacement. Campion's work with Harvard's Institute of Politics is expected to focus on women's leadership.

U.S. Ambassador to Japan Caroline Kennedy, the library's honorary president and daughter of the late President John F. Kennedy, said she was "saddened" by Campion's departure. Board members thanked Campion for her service.

Campion, who also served a decade on the foundation's board, said she was grateful for the opportunity to serve as CEO.