It was constructed in 2500 B.C.
Generally speaking, advanced farming techniques allowed for a surplus of food, which led to the emergence of a "artisan" class--since for the first time people were "freed" to engage in other actives besides gathering food.
It was established after WWII in order to make sure something like it would not happen again.