The past few months have seen numerous unexpected twists and turns in both the Philadelphia District Attorney race and the race to fill numerous open seats on the Philadelphia courts—and primary day is shaping up to be just as unpredictable.

In the district attorney race, seven Democratic contenders are vying for the seat embattled District Attorney R. Seth Williams is set to vacate by the end of the year, if not sooner. The judicial elections are similarly crowded, with 27 Democratic candidates seeking one of nine available seats on the Court of Common Pleas, and six Democratic candidates vying for two seats on the Municipal Court bench.

Interest in the DA's race spiked early in election season last year as Williams' legal and ethical troubles began to mount. Since Williams' surprise announcement in February that he would not seek re-election, interest has only increased. The race even garnered some national attention, both from celebrityendorsements and high-profile Super PAC donations.