On Tuesday, the BSE Sensex ended at 58,279.48 levels, down by 17.43 points or 0.03 per cent, while the Nifty 50 settled at 17,362.10 levels, down by 15.70 points or 0.09 per cent. Apart from the telecom sector, the other sectors ended flat or in red, with the BSE realty index being the weakest performer on Tuesday. The BSE Smallcap and Midcap indices also ended in the red.