An attorney at the center of an email scandal that rocked the state ­judiciary and political landscape over the past two years has left the Philadelphia District Attorney’s Office.

Frank Fina, who has been at the District Attorney’s Office since 2013, confirmed that he resigned from the office May 9 and officially stopped working there at the end of May.