At close, the Sensex was up 521.16 points or 0.67 percent at 78,285.07, and the Nifty was up 159.50 points or 0.66 percent at 24,430.35.““The broader indices performed inline with main indices Nifty midcap index rising 0.4% and smallcap index finishing higher by 0.7%