Before the Nabateans settled in Petra, the city was inhabited by various groups, including the Edomites, the Ammonites, and the Nabataeans. Little is known about this period, but there are some archaeological remains that suggest the city was an important center of trade and commerce.