Foreign capital inflows and rise in services sector activity last month also boosted market sentiment.
The services sector returned to growth in July after two months of contraction as new orders surged and hiring gathered pace to hit a two-year high rate, a survey showed.
The Nikkei India Services Business Activity Index increased to 50.8 in July from 47.7 in June, indicating the first rise in services activity in three months.
The Sensex resumed lower at 28,089.09 and moved in a range of 28,359.96 and 27,866.12 before ending the week at 28,236.39, a gain of 121.83 points, or 0.43 per cent.
It has gained 124.08 points, or 0.44 per cent, in two weeks.
The 50-share Nifty also moved up 31.75 points, or 0.37 per cent, to close at 8,564.60. It has also gained 31.75 points, or 0.37 per cent, in two weeks.
