The domestic benchmark indices, Sensex and the Nifty settled at record closing highs on Wednesday, witnessing across-the-board buying. Sensex ended at 58,723.20 level, up 476 points, or 0.82 per cent while Nifty closed the day at 17,519.45 levels, up 139 points, or 0.80 per cent. Making fresh highs, the BSE Midcap and BSE Smallcap indices closed 0.65 per cent and 0.86 per cent higher, respectively. The sectoral indices also delighted the investors by clocking attractive gains on an intraday basis.