A senior Manhattan prosecutor is set to take over the Pedro Hernandez case. 

Joel Seidemann will retry the man accused of killing 6-year-old Etan Patz in 1979.

Former prosecutor Joan Illuzzi stepped down last week, after she was chosen as the Republican nominee for Staten Island district attorney. 

Jurors settled on a mistrial after they were deadlocked on the 18th day of deliberations. 

It's not yet clear when the second trial will start.