The Federal Statistics Office on Monday announced that it recorded the country's highest net immigration of foreign nationals to Germany in 2015, totaling over 1.1 million for the year.

"Net migration of foreign people amounted to 1.14 million. This is the highest net immigration of foreigners ever recorded in the history of the Federal Republic of Germany," said a statement from the statistics office.

The figure marks a 49-percent increase compared to 2014, which witnessed a net migration of 577,000 people.

The office registered in 2015 under two million immigrants arriving in Germany, while 860,000 departed again.

The figures are based on the numbers from January to August 2015 and estimates for the four remaining months of the year.

For the first time immigrants from non-European countries outnumbered those from Europe.

Controversial deal

The announcement comes as Germany and other European countries struggle to cope with an influx of irregular migrants and refugees, many fleeing war-torn countries in the Middle East, Asia and Africa.

German Chancellor Angela Merkel has dismissed efforts to cap the amount of refugees seeking protection in Germany, a move that placed her at odds with several allied lawmakers.

The EU on Friday finalized a controversial deal with Ankara that allows authorities to return all migrants entering the 28-nation bloc illegally via Turkey.

"The most important part of this deal is that it will end the business model of people smugglers and contribute to securing the EU's external border," Merkel said at a press conference following the agreement.

However, human rights watchdog Amnesty International slammed the agreement, saying it marked a "dark day for Europe and a dark day for humanity."