Seven Democrats filed nomination petitions by Tuesday's 5 p.m. deadline to be listed on the May 16 primary election ballot for district attorney in Philadelphia.

District Attorney Seth Williams, a Democrat, last month dropped his bid for a third term amid controversy about his late reporting of more than $175,000 in gifts from 2010 to 2015 and an ongoing federal investigation into his personal and political finances.

The Democratic candidates are Tariq El-Shabazz, who until last month was first deputy district attorney; former city and state prosecutor Michael Untermeyer; former Municipal Court Judge Teresa Carr Deni; former city and federal prosecutor Joe Khan; former city managing director Rich Negrin; civil rights attorney Lawrence Krasner; and former city prosecutor John O'Neill.

Beth Grossman, a former assistant district attorney, was the only Republican to file for the office.

Three Democrats filed to run for city controller.  Alan Butkovitz, a Democratic ward leader, is seeking a fourth term in the post. Rebecca Rhynhart, who served as city treasurer and then budget director for Mayor Michael A. Nutter and then as chief administrative officer for Mayor Kenney, also filed, joined by Bobbie Curry, who has run unsuccessful campaigns for city and state offices.

Michael Tomlinson is the lone Republican in that race.