The leader of the Social Democratic Party of Germany, Olaf Scholz, will replace Angela Merkel as Federal Chancellor of Germany. The three parties that passed the Bundestag agreed to create a ruling coalition. The agreement will be presented on Wednesday.

According to the results of the Bundestag elections, the Social Democrats took first place, ahead of the Christian Democrats, with whom they are now forming a government. The new coalition, together with the SPD, will include the Greens and the Free Democratic Party, the DPA news agency reports.

Elections to the Bundestag were held at the end of September. The Christian Democrats block, to which the current Chancellor Angela Merkel belongs, lost 48 seats in parliament; the Social Democrats received 53 more seats than they had before the elections.

Merkel’s powers have officially ceased, but she continues to fulfill her duties until a new government is formed.