Stockholm - Sweden’s Housing Minister Mehmet Kaplan will resign following comments where he likened Israel’s treatment of Palestinians to what happened to Jews in Nazi Germany, the prime minister said on Monday.

The comments that daily Svenska Dagbladet first reported last week were made in 2009, before Kaplan entered the newly formed center-left government to represent the minor coalition partner the Green Party in 2014.

The resignation comes amid reports of tensions within the center-left minority coalition government of Prime Minister Stefan Lofven’s Social Democrats and the Green Party.

The coalition had already been strained by an asylum crisis last year. Deputy Prime Minister Asa Romson of the Greens was close to tears when tougher asylum policies were presented late last year and criticism from within her party has been fierce.

Kaplan, who was born in Turkey, has also been criticized for appearing on pictures from a dinner where representatives from an ultra-nationalist Turkish organization attended.‎