Germany's economy contracted in the third quarter of the year, dented by weaker exports, figures have shown.

Europe's largest economy shrank by 0.2% between July and September, as global trade disputes had a knock-on effect for Europe's largest economy.

It was the economy's first quarter-on-quarter fall since 2015.

Meanwhile, the eurozone economy as a whole grew at its slowest rate for four years in the third quarter, the European statistics agency confirmed.

Germany's economy grew by 1.1% from July to September, compared with the same quarter of the previous year, the Federal Statistics Office said.

"The slight decline in GDP compared to the previous quarter was mainly due to foreign trade developments: provisional calculations show there were fewer exports, but more imports in the third quarter than in the second," the Destatis office said.

"According to provisional calculations, exports were down while imports were up in the third quarter of 2018, compared with the second quarter of the year.

"As regards domestic demand, there were mixed signals. While gross fixed capital formation both in machinery and equipment and in construction was higher than in the previous quarter, final consumption expenditure of households declined."

'Downward trend'
On Tuesday, the ZEW research institute said that investors did not expect the German economy to recover rapidly from the third-quarter weakness.

The German government had flagged up potential bottlenecks in the car industry last month, stemming from the introduction of new pollution standards, as an economic factor.

One economist said that while there were positive signs on the horizon for Germany, issues remained around exports.

"Both exports and consumer spending could rebound in the coming quarters as car producers make up for lost time and car spending increases accordingly," said Jennifer McKeown, chief European economist at Capital Economics.

"More fundamentally, the high level of consumer confidence, rising wage growth and the likelihood of a marked fall in inflation all point to a pick-up in spending growth ahead.

"But export growth will remain on a downward trend as global demand softens further."

She added that it looked as though the German economy would grow by about 1.5% this year, rather than a previous estimate of 1.8%.

The 19-nation eurozone saw its gross domestic product (GDP) rise by 0.2% between July and September, according to Eurostat.

The economy of France grew by 0.4% in the third quarter, while Italy's was flat.

Year-on-year the eurozone grew by 1.7%, the slowest pace since the final three months of 2014.