But his workload spiked in 2005 , when he was appointed Durham district attorney by Michael F. Easley , the Democratic governor of North Carolina , after his predecessor , James E. Hardin Jr. , was appointed to a judgeship . ''