India’s benchmark indices ended higher on Thursday for the first time in four sessions, led by a rise in stocks of oil refining companies and banks. The Bombay Stock Exchange’s Sensex crossed the 33,000 mark again and rose 346.38 points to 33,106.82, while the National Stock Exchange’s Nifty 50 rose to 10,214.75, up 96.70 points.

Stocks of oil refining companies made significant gains after crude oil prices declined overnight because of an unexpected rise in crude oil and petrol stocks in the United States. A major constituent of the Nifty 50, Reliance Industries Limited rose 2.4%, while Indian Oil Corporation was up nearly 1.2%.

Top gainers on the Sensex were Infosys, State Bank of India, Reliance Industries, NTPC and Tata Consultancy Services. Adani Ports, Coal India, Hero MotoCorp and Bajaj Auto were the worst performers.

On the National Stock Exchange, Infosys, Bajaj Finance, State Bank of India, Aurobindo Pharma and Reliance Industries gained the most. Adani Ports, Coal India, Bharat Petroleum Corporation Limited and Zee Entertainment Enterprises were among the biggest losers.

The rupee was at 65.23 to a dollar, marginally lower since Wednesday’s close of 65.21.