Ward; this word generally means a prison, but here it means the first and second guard, who seem to have been prevented in a supernatural way from seeing him.
Iron gate; which led out of the prison to the city.
Of his own accord; of itself, without human aid.