After eight years of wrangling, the European Union and the Greek government are burying the hatchet in a dispute that threatened the country’s future as a maritime hub.

In 2011, the EU began a probe of Greece’s tonnage tax system, on the suspicion it was violating the bloc’s competition rules.

Four years later, Brussels upped the ante, threatening to haul the Greek government before the European Court of Justice if it failed to restructure the tonnage tax.