McDonald’s will buy every one of its 225 franchise restaurants in Israel, it announced Thursday, just weeks after saying that the Israel-Hamas war was hurting its business.

McDonald’s added in the statement that it “remains committed to the Israeli market and to ensuring a positive employee and customer experience in the market going forward.”