According to Sina Finance, European stocks gave back gains near the close, with media shares among the biggest decliners. The Stoxx Europe 600 ended little changed after rising as much as 0.7% intraday and was down 0.4% for the month. Spain’s IBEX 35 also surrendered gains of up to 1.6%, closing near unchanged. The Spanish market had earlier risen after the conservative People’s Party won Sunday’s election, but investors sold stocks seen as vulnerable to negative effects.

Telefónica fell 2.0%. Analysts said the People’s Party’s plan to sell the government’s 10% stake could weigh on the shares in the short term. European stocks also faced pressure as global sentiment around artificial intelligence trades weakened. The Stoxx Europe 600’s monthly decline runs counter to seasonal trends, as November has historically been one of its stronger months. Some investors said the pullback could create a more favorable market environment for December. Emilie Tetard, a cross-asset strategist at Natixis CIB, said valuations were moderate and there was still room for a further rebound. On Monday, mining and energy shares led gains while retailers lagged. Novartis fell 2.1% after reporting trial results for a skin-disease treatment that analysts described as disappointing.