The city was located northeast of Fustat and of the previous administrative capitals built by Ibn Tulun and the Abbasids. Jawhar organized the new city so that at its center were the Great Palaces that housed the caliphs, their household, and the state's institutions. Two main palaces were completed: an eastern one (the largest of the two) and a western one, between which was an important plaza known as "Bayn al-Qasrayn" ("Between the Two Palaces"). The city's main mosque, the Mosque of al-Azhar, was founded in 972 as both a Friday mosque and as a center of learning and teaching, and is today considered one of the oldest universities in the world. The city's main street, known today as "Al-Mu'izz li-Din Allah" Street (or al-Mu'zz street) but historically referred to as the "Qasabah" or Qasaba, ran from one of the northern city gates (Bab al-Futuh) to the southern gate (Bab Zuweila) and passed between the palaces via Bayn al-Qasrayn. Under the Fatimids, however, Cairo was a royal city which was closed to the common people and inhabited only by the Caliph's family, state officials, army regiments, and other people necessary to the operations of the regime and its city. Fustat remained for some time the main economic and urban center of Egypt. It was only later that Cairo grew to absorb other local cities, including Fustat, but the year 969 is sometimes considered the "founding year" of the current city.