US stock indexes closed higher Friday after falling oil prices helped stop a surge in Treasury yields, which had reached multi-decade highs Thursday. The S&P 500 rose 0.5%, the Dow gained 479 points and the Nasdaq advanced 0.4%. Oil declined after reports that the United States and Iran had moved closer to an agreement to lift naval blockades on tankers in the Persian Gulf and ease economic measures against Tehran. AI shares were mixed: Applied Materials rose 2.3%, Lam Research gained 2.6%, Microsoft climbed 3.7% and Meta fell 3.3%. Alphabet rose, though no percentage was provided, while Oracle lost 1.7%. For the week, the S&P 500 increased 0.6%, the Nasdaq 100 jumped 2.1% and the Dow fell 103 points.