Mumbai: Benchmark equity indices Sensex and Nifty hit their fresh all-time highs in early trade on Friday amid upbeat investor sentiments and fresh foreign fund inflows, days ahead of the announcement of Lok Sabha election results.

In early trade, the 30-share BSE Sensex rose 164.24 points to its all-time high of 75,582.28. NSE Nifty rose 36.4 points and crossed the 23,000 mark for the first time. It reached its lifetime peak of 23,004.05.

Among Sensex companies, Bajaj Finance, Larsen & Toubro, Tata Steel, State Bank of India, HDFC Bank and Bharti Airtel were the major gainers.Mahindra & Mahindra, Tata Consultancy Services, Maruti and JSW Steel were among the laggards.

Foreign institutional investors (FIIs) turned buyers on Thursday after selling equities for several days. According to exchange data, he bought equity worth Rs 4,670.95 crore on Thursday.

The results of the current general elections will be declared on June 4.

Among Asian markets, Seoul, Tokyo, Shanghai and Hong Kong were trading in decline.Wall Street ended Thursday in negative territory.

Global oil benchmark Brent crude rose 0.05 percent to US$81.40 a barrel.

"Nifty moved close to 23,000 points yesterday, driven by investors' optimism about continuation of the current regime in the upcoming general elections," said Prashant Tapse, senior VP (research), Mehta Equities Ltd.

With about a fortnight left for the Lok Sabha election results to be declared, benchmark stock indices Sensex and Nifty jumped over 1.6 per cent to close at all-time highs on Thursday.

Recapturing the 75,000 level, BSE Sensex ended at an all-time high of 75,418.04, up 1,196.98 points or 1.61 per cent.NSE Nifty reached close to 23,000 points during the day on Thursday. The 50-point index rose 369.85 points, or 1.64 percent, to 22,967.65.