BAGHDAD (AFP) - Iraq on Monday warned Turkish Kurdish rebels based in its northern mountains to lay down their guns or leave the country, during a landmark visit by Turkey's President Abdullah Gul. "The PKK has two choices: lay down its guns or leave Iraq," President Jalal Talabani, himself a Kurd, said of the Kurdistan Workers' Party (PKK) at a joint news conference marking the first visit by a Turkish head of state in 33 years. "The PKK must become involved in political and parliamentary life instead of resorting to weapons, since using guns does wrong to Kurds and Iraqis," Talabani said. "Iraq's constitution forbids the existence of armed groups, the PKK along with others, and we are currently working towards this aim on the tripartite committee" set up in November by Iraq, Turkey and the United States, he said. The Turkish president said: "It is time to finish with these problems because they harm relations between our two countries ... Common action is needed to eliminate terrorism." Gul said the responsibility fell upon "officials in the areas where these terrorists are implanted," in reference to the Kurdish regional government of northern Iraq. He was also set to meet the premier of the Kurdish autonomous region during his trip, an official with the regional government said. Falah Mustafa said Nechirvan Barzani would meet Gul in Baghdad. The PKK foreign relations chief, Ahmed Deniss, charged that the aim of the Gul visit was to "liquidate" the rebel group. "Turkey and the United States have a plan to disarm the PKK and liquidate it. They want the complicity of the Iraqi Kurdish government," he said, contacted on the telephone. Deniss said the PKK would be ready to lay down its arms if the Iraqi Kurds were ready to hand over their weaponry to the US military. Ankara has often accused the US-backed Iraqi Kurds and their autonomous administration in northern Iraq of tolerating and even aiding the rebels from across the border with Turkey. Ankara says some 2,000 PKK militants use mountainous northern Iraq as a springboard to attack Turkey. The Turkish military has targeted rebel bases in Iraq, mostly with air strikes, under a parliamentary authorisation for cross-border action, which was first approved in 2007 and renewed for another year in October. In Istanbul last week Talabani urged Turkey to consider an amnesty for the rebels to consolidate measures broadening Kurdish cultural freedoms and boost prospects of a lasting peace. He also said the Kurdish rebels were likely to heed an appeal expected to be issued next month by Kurdish political groups from Iran, Iraq, Syria, Turkey and Europe to lay down their weapons. The PKK's expected move would not mean only a ceasefire but "a decision in principle to end the so-called armed revolution," Talabani told Turkey's Sabah newspaper. Kurdish groups from the region and Europe are due to gather in late April or May, probably in the northern Iraqi city of Arbil. Talabani first visited Turkey as head of state a year ago, when he and Gul pledged to cooperate in attempts to oust PKK rebels from their bases in northern Iraq. The last Turkish head of state to visit Iraq was Fahri Koruturk, who made the trip in 1976 back when Ahmed Hassan al-Bakr was president of Iraq. Ankara wants close ties and economic cooperation with Baghdad, with two-way annual trade now having climbed to five billion dollars, but the safe haven the PKK enjoys in northern Iraq has long been a bone of contention. Visiting Ankara in December, Iraqi Prime Minister Nuri al-Maliki pledged to increase cooperation to root out the rebels. The PKK, labelled a terrorist group by much of the international community, took up arms for self-rule in Turkey's Kurdish-majority southeast in 1984, sparking a conflict that has claimed about 44,000 lives. Gul's talks were also likely to cover the controversial issues of water and of oil-rich Kirkuk, an ethnically divided city north of Baghdad where tensions between Kurdish, Arab and Turkmen residents run deep. Turkmen, an ethnic group comprising about 600,000 people, are concentrated around Kirkuk. Kurds have demanded that the city be added to their autonomous region in Iraq's north, but Turkey and Iraqi Arabs oppose this.