Indian markets extended gains for a fourth straight session as Sensex jumped 521 points and Nifty closed above 24,430. Improved monsoon prospects, renewed FII buying, stable crude prices and optimism around earnings supported sentiment despite mixed global market cues.