Historical masonry buildings with irregular geometric layouts, which cover a large floor area, display poor seismic behaviour. Stresses occur because of irregularities in plan or elevation, and consequent unbalanced mass distributions. The gravity and earthquake analyses are applied in this study on the analytical model of the historical Gazanfer Aga Madrasah. The analyses are used to examine the performance of the building under earthquake effects. The importance of analytical modelling technique in the analysis of irregular masses is emphasized.