Bible Trivia Question for Friday 10/13/2017

When I hear of the decrepit state of Judah I prayed and fasted as well. The King consented to make me governor and God blessed my rule. Who am I?