Prime Ministry Press Service via Associated Press
Turkey's Prime Minister Binali Yildirim, left, stands with Chief of Staff Gen. Hulusi Akar at the headquarters of Turkish army in Ankara, Turkey, Thursday, June 2, 2016. Yildirim says Turkey is recalling its ambassador to Germany for consultations after what he calls a "historic error" by the German parliament to recognize the killings of Armenians by Ottoman Turks a century ago as genocide.

ANKARA, Turkey — Turkey's prime minister says his government intends to take further measures in response to the German Parliament's decision to label as genocide the killings of Armenians by Ottoman Turks a century ago. But he says no one should expect ties to "deteriorate entirely."

Binali Yildirim said Friday that Germany had made a "historic" error, which it should rectify.

Turkey recalled its ambassador in Berlin for consultations after Thursday's vote. Yildirim didn't specify what else it might do.

Historians estimate that up to 1.5 million Armenians were killed by Ottoman Turks around the time of World War I, an event viewed by many scholars as the first genocide of the 20th century.

Turkey disputes the description. It says the toll has been inflated and considers those killed victims of a civil war.

Speaking ahead of a trip to Azerbaijan, Yildirim also lashed out at Armenia, saying the country has a history of being "involved in wrong things through agitations."

"In the past they were involved in terror attacks against our country that took the lives of many of our diplomats," he said, referring to a 1980s assassinations campaign against Turkish diplomats in several countries.

"Today, it is no secret that they have tacitly, through other ways, opened arms to terror organizations," Yildirim added in an allusion to the Kurdistan Worker's Party, or PKK, which has been in conflict with Turkey for decades.

The Armenian foreign ministry dismissed the claims that Armenia has supported terrorism.

"The new prime minister is playing outdated songs, which is ruining his pledge for change," Foreign Ministry spokesman Tigran Balayan told The Associated Press on Friday. "Not surprised at all."

Avet Demourian in Yerevan, Armenia, and Dominique Soguel in Istanbul, Turkey, contributed to this report.