The U.S. dollar fell Friday, posting its largest yearly percentage drop in a decade.

The Wall Street Journal Dollar Index, which measures the U.S. currency against a basket of 16 others, fell 0.3%, losing ground against the euro. The dollar snapped a five-year winning streak, dropping 7.5% in 2017, its biggest annual decline since 2007.

The euro was supported by preliminary German inflation data for December that showed that consumer prices rose 1.6% from last year, when harmonized for European Union data, Germany’s Federal Statistical Office said Friday. Prices also rose 0.6% from the previous month.

The euro climbed 0.5% against the greenback, rising above the $1.20 level to $1.2003, gaining 14% in 2017 and breaking a three-year losing streak against the dollar.

Investors have favored the euro versus the dollar throughout much of 2017, as faster-than-expected growth in Europe prompted investors to speculate that officials can tighten monetary policy sooner and faster than had previously been expected. Higher interest rates tend to make a currency more attractive to yield-seeking investors.