Petra was built around 6th century BCE and it was built by the Nabataeans.

There is not a definitive answer as to when Petra was built. Scholars believe that it could have been constructed as early as the third century B.C.