Thailand's government has signed its first-ever peace talks deal with Muslim rebels aimed at ending a decades-long conflict in the south.
The deal was signed in Malaysia by the National Revolution Front (BRN), one of several groups operating in Thailand.
More than 5,000 people have been killed since the conflict reignited in the Muslim-majority region in 2004.
Malaysian PM Najib Razak and his Thai counterpart Yingluck Shinawatra are to meet in Kuala Lumpur later on Thursday.
Their annual meeting is expected to include talks on the insurgency in the south as well as cross-border trade, said the Bangkok Post newspaper on Wednesday.
Malaysia has been acting as a facilitator for the negotiations between the Thai government and the Muslim rebels and is likely to host any peace talks.'Do our best'
The document signed in Malaysian capital, Kuala Lumpur, will begin a "dialogue process", said officials.
More details of the agreement will be made public after the two prime ministers meet, Malaysian officials were quoted by Associated Press news agency as saying.
The BBC's Jonathan Head in Bangkok says that while attempts have been made before to launch a peace process, this is the first time both sides have committed to doing so in writing.
However, he adds that it is only a first step, noting the splintered nature of the insurgency and the possibility that the various rebel leaders may limited influence over their fighters on the ground.
The secretary-general of Thailand's National Security Council Paradorn Pattanatabutr, who signed the deal, said it was "another attempt by the government to tackle the unrest" and did not mean an immediate end to the conflict, Bangkok Post reports.
Hassan Taib, who signed the document for the BRN, told reporters: "We will do our best to solve the problem. We will tell our people to work together to solve the problems."
BRN, or Barisan Revolusi Nasional in Malay, is just one of several rebel groups in the south.
The rebels in mostly Muslim southern provinces are thought to be fighting for greater autonomy from Buddhist-majority Thailand.
Malaysia also brokered a framework peace agreement between the Philippines and its largest Muslim rebel group last year.