The territories described in Joshua 13 depict Gad as being to the north of Reuben, while the description in Numbers 32 and 34 has Reubenites living near Heshbon, surrounded by Gadites. Yohanan Aharoni interpreted the description in Numbers as referring to the actual distribution of Reubenites and Gadites around the time of David, and the description in Joshua 13 as reflecting administrative districts set up in the time of Solomon, but not reflecting actual tribal settlement patterns. By 900 BC, some of the territory and Reuben and Gad had been captured by the Moabite kingdom.