the flat roof of the prayer hall was supported by columns. many rows of columns were needed to support such roofs; this is called "hypostyle architecture". one of the most famous hypostyle mosques is the mezquita de córdoba in spain. it is supported by over 850 columns.