Israeli Prime Minister Benjamin Netanyahu met with the two US presidential candidates on Sunday.

Former Secretary of State Hillary Clinton and Netanyahu discussed the recent US-Israel defense deal to “strengthen the defense and intelligence relations between the two countries,” according to a top Clinton campaign aide.

They also discussed the Iran nuclear deal and the ongoing war inside Syria.

In a separate meeting, Netanyahu met the Republican nominee Donald Trump.

Trump promised that he will “recognize Jerusalem as the undivided capital of the state of Israel” if he becomes the next president of the United States.

The meeting took nearly 90 minutes as Trump’s son-in-law and a close adviser, Jared Kushner, was on hand for the meeting along with Israeli ambassador to the US Ron Dermer.

“A Trump administration would finally accept the long-standing Congressional mandate to recognize Jerusalem as the undivided capital of the state of Israel," the Trump campaign said in a press release.

Trump described East Jerusalem al-Quds, which was occupied by Israel in 1967, as the eternal capital of the Jewish people.

He described the US military aid to Israeli missile system as “an excellent investment for America”.

The meeting came as Trump was preparing to take part in the first national debate with Democratic nominee Hillary Clinton, who met Netanyahu later in the day.