In 1953, Hanley met Edward J. King, a fellow accountant at Lybrand, Ross Brothers & Montgomery (now
PricewaterhouseCoopers). In 1960, when King became secretary-treasurer of the Massachusetts Port Authority, Hanley joined him as comptroller. When King was promoted to executive director in 1963, Hanley succeeded him as secretary-treasurer. During their tenure at Massport, King and Hanley worked on immensely expanding Boston's
Logan Airport. Hanley was praised by Massport board member John Larkin Thompson for his management of the port authority's financial affairs. When King was fired by the Massachusetts Port Authority Board of Directors in 1974, Hanley served as interim executive director for several months before leaving to start a private tax law practice with John J. Egan, the father-in-law of King's brother. He was also appointed to the board of directors of
Catholic Charities USA and
Blue Shield of Massachusetts. ==Secretary of Administration and Finance==