The Parliament of Turkey on Wednesday ratified the Paris climate agreement, joining the global alliance aimed at fighting against climate change.

The agreement was ratified in the Parliament unanimously.

Turkey was among the first countries to sign the Paris Agreement in 2016 but it did not ratify it as it sought to be reclassified as a developing instead of a developed country under the agreement. This was to avoid harsher emission reduction targets and benefit from financial support.

Turkey was among six countries, which include Iran, Iraq, Eritrea, Libya, and Yemen to not ratify it.

The approval comes ahead of the climate summit, known as Cop26, which begins on October 31 in Glasgow, Scotland, and aims to encourage nations to take stronger action to curb climate change.

The Paris Agreement’s stated goal is to limit global warming to well below 2, preferably to 1.5 degrees Celsius, compared to pre-industrial levels. The current level is 1.2 degrees Celsius as compared to that time.

Under the agreement, nations are expected to set greenhouse gas emission-reducing actions, depending on their economic status.

Ankara claims that Turkey’s greenhouse gas emissions are lower than European Union and OECD averages and the country is responsible for 0.7% of global emissions. It wants access to funds and technology to reach targets, saying that the country has financial and technological constraints in combating climate change.

Turkey relies on imported fuel and natural gas along with coal-burning and hydroelectric power plants for its energy needs. However, it has ample opportunities to tap renewable energy resources, environmental groups say.

The country has been hit by many natural disasters in the recent past. In July, wildfires devastated swathes of forest land along Turkey’s southern coast, killing eight people and forcing thousands to flee. As firefighters continued to battle blazes, parts of the country’s northern Black Sea coast were hit by floods that killed 82 people.

Earlier this year, a layer of sea mucilage covered the Sea of Marmara, threatening marine life. Meanwhile, hundreds of infant and mature flamingoes were found dead at the drought-hit Tuz Lake, a breeding spot for the birds.