The mosque of Ibn Tulun had built over a period of three years of mud brick became the focal point of the Tulunid capital that lasted only 26 years. It was the third congregational mosque to be built in what is now greater Cairo, and at approximately 26,318 square meters in size, is the third largest mosque in the world. It is the oldest mosque in Egypt that has survived in a fairly original form. The mosque was completed in 879 AD . The Ibn Tulun mosque reflects all the characteristic features of Abbasid art within the realm of architecture, and was obviously influenced, particularly with regards to the minaret, the great rectangular piers with engaged corner columns, the decorative motif and other features by the famous Samarra mosque in present day Iraq.