Britain’s economy experienced its most rapid growth in 18 months this July, aided significantly by contributions from the artificial intelligence sector, defying several geopolitical and economic challenges. Official figures on Friday highlighted a 1.6% increase compared to the previous year, surpassing economists’ expectations of 1.2% growth.

New finance minister, John Healey, is receiving a timely economic boost as he prepares his first budget slated for October 28. However, the economic backdrop remains complex, with potential overshadowing from escalating government borrowing costs and surging oil prices. A rate hike consideration by the Bank of England is on the table as a result.

Key growth has been attributed to enterprises in computer programming, riding the AI boom, as well as contributions from the services sector. Economic resilience was apparent despite the impact of the U.S.-Iran conflict, though economists harbor mixed hopes for the sustainability of this growth pattern.

(With inputs from agencies.)