Petra served as the capital of the Nabataean people for hundreds of years before the Romans annexed the kingdom around A.D. 106. The ancient trade center once housed tens of thousands of people.