The stock market witnessed volatility at higher levels today, yet the Nifty managed to close comfortably above the 25,000 mark. The BSE Sensex gained 107 points to end at 81,106, while the NSE Nifty settled 58 points higher at 25,044.