Former Secretary of State John Kerry told a Palestinian official that he is seriously considering running for president in 2020, according to a report in Israeli media.

The Hebrew-language newspaper Ma'ariv reported that Kerry recently met with Hussein Agha, a close associate of Palestinian Authority President Mahmoud Abbas, in London, according to the Jerusalem Post.

The former top diplomat in the Obama administration told Agha not to yield to President Donald Trump and that Trump may not even be in office next year.

Kerry then "surprised" Agha by saying he was "seriously considering" a White House run in 2020.

"When asked about his advanced age, he said he was not much older than Trump and would not have an age problem," the Jerusalem Post reported.

Kerry is three years older than Trump. If elected in 2020, he would be 77 years old when he took the oath of office, making him easily the oldest president ever elected (and the same age as Ronald Reagan when he left office).

Kerry ran for president in 2004 when he was a Democratic senator from Massachusetts and lost to President George W. Bush. Kerry was floated as a potential candidate in 2008, and admitted in 2016 that a presidential run "crossed my mind," but he chose instead to finish his term as secretary of state.