17 Then the king appointed the officer he was depending on over the gate, but the people trampled him and he died, according to that which the man of God had said which he spoke when the king came down to him.