The federal government will pay $20 million to the Halifax Regional Municipality to settle a long-standing taxation dispute that dates back almost two decades.

In a news release Friday, the municipality says it was unnecessarily taxed between 1997 and 2015.

“This is the culmination of a significant effort over the past few years with our counterparts at the federal government, and our municipal staff worked hard to achieve a positive resolution,” said Halifax Mayor Mike Savage in a statement.

The settlement comes after lengthy discussions between senior municipality officials and Public Services and Procurement Canada.