A Turkish flag flutters atop the Turkish embassy as an Israeli flag is seen nearby, in Tel Aviv, Israel June 26, 2016. REUTERS/Baz Ratner/File Photo

ANKARA (Reuters) - Turkish lawmakers on Wednesday submitted to parliament a settlement deal with Israel that would see Israel pay Ankara $20 million within 25 days in return for Turkey dropping outstanding legal claims, ending a six-year rift.

Relations between the two countries crumbled after Israeli marines stormed a Turkish ship in May 2010 to enforce a naval blockade of the Hamas-run Gaza Strip, killing 10 Turks on board.

Israel had already offered its apologies for the raid. Both countries are to appoint ambassadors, and Turkey is to pass legislation indemnifying Israeli soldiers as part of an agreement partly driven by the prospect of lucrative Mediterranean gas deals.