President Trump was laying the foundation for a future deal between the Israelis and Palestinians during his meeting with Palestinian Authority President Mahmoud Abbas, according to a White House statement issued late Wednesday.

"Both leaders agreed that while the United States can support progress toward a peace deal, a solution cannot be imposed on the Israelis and Palestinians by any party, including by one side on the other," the White House said.

"The two leaders discussed the value of actions that can help create a climate conducive to tangible progress toward peace."

Trump told Mahmoud he was "personally committed" to helping both parties reach a comprehensive peace agreement.

Both leaders also discussed thwarting terrorism and violence in the Middle East.

"President Trump emphasized the importance of making a clear commitment to preventing inflammatory rhetoric and to stopping incitement, and to continue strengthening efforts to combat terrorism," the statement added.

The meeting in Washington marked the first time the two leaders have met in person.

The visit comes a day after Vice President Mike Pence hosted an event for Israeli Independence Day at the Eisenhower Executive Office Building and told attendees Trump was still looking at moving the U.S. embassy in Israel from Tel Aviv to Jerusalem.

Trump has vowed to help the Israelis and Palestinians resolve their long-standing conflict, but called himself a loyal friend to Israel.

Senators Lindsey Graham of South Carolina, Tom Cotton of Arkansas and Marco Rubio of Florida on Tuesday called on Trump to push Abbas to end the country's policy of giving aid to terrorists.