Turkish Airlines and Boeing have agreed on compensation for certain losses caused by grounded and undelivered Boeing 737 Max aircraft, the Turkish airline said today. 

The statement to the Istanbul stock exchange did not specify the deal's value.

But Turkey's Hurriyet newspaper said it was worth $225m - $150m in compensation and $75m covering things such as spare parts and training. 

Turkish Airlines has 24 Boeing 737 MAX planes in its fleet. 

The 737 MAX has been grounded since March after two crashes in Indonesia and Ethiopia killed 346 people within five months, costing the plane manufacturer more than $9 billion so far. 

In December, a media report had said Turkish Airlines was preparing to open a court case against Boeing in relation to its losses. 

Last week, Boeing fired chief executive Dennis Muilenburg after the company repeatedly failed to contain the fallout from the crashes, which halted output of its best-selling jetliner and tarnished its reputation. 

Boeing acknowledged this month it would not be able to reach its 2019 targets and announced it would halt 737 MAX production in January.