It is a result which ends months of political uncertainty in Europe's economic powerhouse and gives a fourth term to its longtime leader.