This was after he had defeated King Sihon of the Amorites, who lived in Heshbon, and King Og of Bashan, who lived in Ashtaroth, at Edrei.