Markets extended Thursday's gains following global rally after a decision by International Energy Agency to increase oil supplies and a resolution over Greece debt crisis.
Nifty made a gap up opening and moved higher after oil prices eased, relieving concerns of inflation.
The index touched a high of 5,477 in the afternoon session led by rally in heavyweight ICICI Bank, Infosys and Larsen & Tourbo.
The S&P CNX Nifty closed near day's high at 5,471, up 151 points and the Sensex ended at 18,241, up 513 points. This was biggest rally since March 1st 2011.
Among the frontline shares, ICICI Bank, Infosys and L&T contributed 150 points on the Sensex.
Earlier in the week Sensex shed around 360 points on speculation related to changes in the Indo-Mauritius tax treaty and mid-week Indian Metrological Department reduced the Monsoon forecast which kept investor to the sidelines.
But positive global sentiment and fall in oil prices helped markets pare all the early week losses and end higher by 2% on weekly basis.
This was the first weeky gain after two consecutive weeks of losses.
The International Energy Agency decided to turn on the oil spigot and release 60 million barrels driving down crude prices to four month lows which caught investors off guard and spurred a rally across financial markets. Brent Crude fell 6% to $107.5/bbl and Nymex crude dropped to $91/bbl.
Additionally