Prime Minister Narendra Modi has said India and Israel would deepen cooperation in defence and artificial intelligence as he concluded a two-day visit to Israel.

Modi and his Israeli counterpart Benjamin Netanyahu said in a joint statement on Thursday that their countries would work towards pursuing a free trade agreement.

"We've taken a historic decision to elevate our time-tested partnership to a Special Strategic Partnership," Modi said in a post on X.

Modi's second visit to Israel since 2017 has been seen as a test of India's foreign policy as it tries to balance its ties with Israel and other Middle Eastern countries.

During the visit, Modi toured Yad Vashem, Israel's Holocaust memorial, and addressed the Knesset, where he condemned the October 2023 Hamas-led attack on Israel.