Prime Minister Benjamin Netanyahu has chosen a former deputy chief of the Mossad with close ties to Jordan to lead the troubled spy agency, Israeli media reported Wednesday.

Ephraim Halevy, if he accepts the position, will replace Danny Yatom, who resigned last week after the Mossad botched the assassination of an Islamic militant leader in Jordan and was caught wiretapping in Switzerland.Halevy, who has a good relationship with King Hussein, helped smooth over ties with Jordan after Mossad agents were captured in September trying to poison Hamas leader Khaled Mashaal in Amman, army radio said.

Halevy's appointment is likely to satisfy Jordan, which halted security cooperation with Israel after the attempted assassination of Mashaal. Jordanian and Israeli officials were planning high-level meetings next week, a sign of eagerness on both sides to resume cooperation.