FINLAND — Finland is settling its lawsuit against its former government for $1.5 billion to compensate victims of a massive tsunami that hit the country in 2013, Finnish prosecutors announced Thursday.

Finland agreed to the settlement, which will cover the aftermath of the devastating 2011 earthquake and tsunami, in a deal with the US State Department, the prosecutor’s office said in a statement.

The tsunami killed at least 20,000 people in the country, mostly in Finland, but also caused massive damage to the country’s economy.

The government is paying $1,543,400 for damages, including the cost of the quake and tsunami.

The US is paying an additional $400,000, the statement said.

The court settlement will cover all of the tsunami damages, the Prosecutor’s Office said.

It will not cover damages caused by the earthquake, tsunami or nuclear power plant shutdowns.

The United States has agreed in the past to settle lawsuits with foreign governments in exchange for compensation, but this is the first time it has been done for damages caused directly by a quake or tsunami, according to the US embassy in Finland.