The Nifty 50 closed at 25,018, just short of a new all-time high, as the BSE Sensex ended at 81,711. Gains were led by Bajaj Finserv and other major companies. Investors anticipate the Federal Reserve's interest rate cut in September. Nifty Media saw substantial growth following Zee Entertainment's settlement agreement with Sony India.