The Nifty surpassed its previous record of 26,277 set in September 2024.