The Sensex shut shop 43.1 points or 0.28 percent to close at 15,331.94 points. It had managed to crawl into the positive terrain about an hour before closing bell after languishing in the red for most of the day.
The Nifty too ended in the red, closing 0.18 percent lower at 4,564.1 points.
Profit booking and a crash at the Chinese bourses pulled down the Sensex 158 points into the red Wednesday, even though it managed to salvage some of the losses. It had slipped more than 443 points around noon after Chinese bourses tanked.
The Sensex closed at 15,173.46 points -- 158.48 points or 1.03 percent lower than Tuesday's closing figure. Similarly, the Nifty closed in negative terrain, 1.11 percent down at 4,513.5 points.
Thursday saw the markets welcome a good set of corporate earnings and pushed the Sensex 214.5 points or 1.41 percent higher at 15,387.96 points. A bit of short covering before expiry of the futures and options contract for July also helped the rise.
The Nifty too closed in the positive terrain, 1.28 percent up at 4,571.45 points.
Indian equities were again up Friday, with investors taking cues from a sustained Asian rally and corporates continuing to provide positive earnings results.
The Sensex which opened lower at 15,449.47 points, shut shop at 15,670.31 points -- 282.35 points or 1.83 percent higher than Thursday's closing figure. It was the highest closing since June 17, 2008.
The Nifty moved up as well rising 1.42 percent to 4,636.45 points.
The week's top gainers on the Sensex were Ambuja Cements (up 14.1 percent), Tata Motors (up 13.1 percent), Tata Power (up 11 percent), TCS (up 9.1 percent) and ITC (up 7.3 percent).
Among losers were Hero Honda (down 7.5 percent), Grasim (down 3.4 percent), Cipla (down 3.1 percent), Reliance Industries (down 3 percent), and Reliance Power (down 2.6 percent).