The suit filed by Tan Sri Mohamed Apandi Ali against former prime minister Tun Dr Mahathir Mohamad and the Malaysian government over the termination of his contract as the Attorney-General (AG) has been settled amicably at the Kuala Lumpur High Court.