Ambush And King in the YLT
2 verses of the Young's Literal Translation have both "ambush" and "king".
Joshua 8:2 and thou hast done to Ai and to her king as thou hast done to Jericho and to her king; only, its spoil and its cattle ye spoil for yourselves; set for thee an ambush for the city at its rear.'
Joshua 8:14 And it cometh to pass, when the king of Ai seeth it, that hasten, and rise early, and go out do the men of the city to meet Israel for battle, he and all his people, at the appointed season, at the front of the plain, and he hath not known that an ambush is against him, on the rear of the city.