Nifty 50 closed at 24,270.85, up 95.15 points, while BSE Sensex rose 261.79 points to 77,763.91