Mumbai: Domestic stock markets rose on Wednesday with benchmark indices S&P BSE Sensex and NSE Nifty a stone’s throw from record levels, tracking strength in global peers on optimism about US-China trade talks. Gains in banking, automobile and energy stocks pushed the markets higher. The Sensex index rose 254.46 points to touch 41,075.76 at the strongest level during the session, and the broader Nifty benchmark climbed to as high as 12,114.25, up 76.55 points from its previous close, all-time high recorded on Tuesday. Top percentage gainers on the index were Yes Bank, UltraTech Cement, SBI, Maruti Suzuki and Hindalco, ending between 2.19 per cent and 8.31 per cent higher. On the other hand, Bharti Infratel, Cipla, Larsen & Toubro, ITC and ICICI Bank, closing between 0.77 per cent and 3.20 per cent lower, were the top laggards. HDFC, Reliance Industries and SBI contributed the most to the up move in Sensex, together accounting for a 135-point rise in the index.