petra is believed to have been settled as early as 9,000 bc. it became the capital city of the nabataean kingdom. the nabataeans were nomadic arabs who used petra because it was near the spice trade routes.