Germany's economy grew at a rate of 0.1% in the third quarter of 2019, moving away from the brink of recession, the Federal Statistical Office said on Friday.

The German economy shrank by 0.2% in the second quarter of 2019, against a growth of 0.5% in the previous quarter.

The economy is usually described as technically in a recession after a contraction for at least two consecutive quarters.

The drivers of growth in the third quarter came mainly from strong exports, government spending and private consumption, the Federal Statistics Office said in a statement.

The Federal Statistics Office said exports grew 1 percent in the third quarter, meaning net trade contributed 0.5 percentage points to overall economic growth.

Last month, the Ifo Institute for Economic Research in Germany lowered its forecast for the country's economic growth rate to 0.5% in 2019, from 0.9% in previous estimates.

Reasons for the poor performance of the German economy include a decline in global demand for capital goods, which has hit the export-oriented German economy, as well as political uncertainty and structural changes in the automotive industry.

Germany's private sector contracted in November, but at a slower pace than last month, according to EHS Markit. The manufacturing sector remained the same as its main weakness this month.