ANKARA, Turkey -- ANKARA, Turkey (AP) — Turkey's Parliament has extended by a year a mandate that allows the military to send troops into Syria if the need arises.

Legislators voted on Thursday by a show of hands in favor of the bill despite objection from opposition parties, which argued the move would drag Turkey to war.

The government proposed the extension, saying the Syrian regime's use of chemical weapons poses an "imminent and serious" threat to Turkey.

Parliament first authorized the military to send troops to Syria last year, after five Turkish civilians were killed from Syrian shelling at a border town. That expires on Friday.

Turkish-Syrian relations have further deteriorated since then and last month Turkey shot down a Syrian helicopter that strayed into its territory.

Loading Slideshow...
  • A man carries the body of a child allegedly killed by a pro-government forces sniper in the northern Syrian city of Aleppo on October 2, 2013. At least 115,206 people have been killed in Syria's devastating 30-month conflict, most of them fighters from both sides, a monitoring group said on October 1. (KARAM AL-MASRI/AFP/Getty Images)

  • A female rebel fighter fixes the scope of her Belgium made FAL rifle as she attends a training session at the Salaheddin district of the war-battered northern Syrian city of Aleppo on October 2, 2013. (KARAM AL-MASRI/AFP/Getty Images)

  • In this Thursday, Oct. 3, 2013 photo, opposition fighters, sons of Mohammed Kale, walk at the frontline on the outskirts of Kfar Lata, a ghost village on the top of a mountain subdued under heavy shelling and bombardments due the fighting between opposition fighters and government forces in the Idlib province countryside of Syria. (AP Photo)

  • In this Thursday, Oct. 3, 2013 photo, Mohammed Kale sits with his family at home in Kfar Lata, a ghost village in a top of a mountain subdued under heavy shelling and bombardments due the fighting between opposition fighters and government forces in the Idlib province countryside of Syria. (AP Photo)

  • In this Thursday, Oct. 3, 2013 photo, the wife of Mohammed Kale stands with her granddaughter and grandson in the yard of her family house in Kfar Lata, a ghost village in a top of a mountain subdued under heavy shelling and bombardments due the fighting between opposition fighters and government forces in the Idlib province countryside of Syria. (AP Photo)

  • In this Thursday, Oct. 3, 2013 photo, a granddaughter of Mohammed Kale picks up dry clothes from a laundry line at her family house in Kfar Lata, a ghost village at the top of a mountain subdued under heavy shelling and bombardments due the fighting between opposition fighters and government forces in the Idlib province countryside of Syria. (AP Photo)

  • This citizen journalism image provided by Aleppo Media Center AMC which has been authenticated based on its contents and other AP reporting, shows damaged buildings due to heavy fighting between government forces and Free Syrian Army fighters in Aleppo, Syria, Monday, Oct. 7, 2013. (AP Photo/Aleppo Media Center AMC)

  • Syrian refugees from the Idlib province are seen in the ruins of the ancient Byzantine-Christian city of Serjilla, in the Jabal al-Zawiya region of the northwestern province, on October 8, 2013, where many families are residing after they fled their homes due to the ongoing conflict between government and opposition forces. ( MEZAR MATAR/AFP/Getty Images)

  • A Syrian refugee sleeps under a make-shift shelter in the ruins of the ancient Byzantine-Christian city of Serjilla, in the Jabal al-Zawiya region of the northwestern province, on October 8, 2013, where many families are residing after they fled their homes due to the ongoing conflict between government and opposition forces. (MEZAR MATAR/AFP/Getty Images)

  • Syrian refugees are seen in the ruins of the ancient Byzantine-Christian city of Serjilla, in the Jabal al-Zawiya region of the northwestern province, on October 8, 2013, where they are residing after they fled their homes due to the ongoing conflict between government and opposition forces. (MEZAR MATAR/AFP/Getty Images)

  • Masked female rebel fighters walk alongside their trainer in a street at the Salaheddin district of the war-battered northern Syrian city of Aleppo on October 8, 2013. (KARAM AL-MASRI/AFP/Getty Images)

  • In this Monday, Oct. 7, 2013 photo, night falls as smoke rises from the battlefield at the frontline in Maaret al-Numan in the Idlib province countryside of Syria. (AP Photo)

  • In this Monday, Oct. 7, 2013 photo, smoke rises from the battlefield as opposition fighters carry out an attack on the Wadi al-Deef military post at the frontline in Maaret al-Numan in the Idlib province countryside of Syria. (AP Photo)

  • Syrian residents walk by demolished buildings after a warplane bombed the residential area in Maaret al-Numan in the Idlib province, Syria, Tuesday, Oct. 8, 2013. (AP Photo)

  • An abandoned Ferris wheel is seen among buildings damaged by fighting between opposition fighters and Syrian government forces in Maaret al-Numan in the Idlib province, Syria, Tuesday, Oct. 8, 2013. (AP Photo)

  • In this Wednesday, Sept. 11, 2013 file photo, A Syrian refugee boy sits on the ground at a temporary refugee camp, in the eastern Lebanese Town of Al-Faour, Bekaa valley near the border with Syria, Lebanon. With some 1 million Syrian refugees in Lebanon, or nearly 25 percent of the tiny Arab country's population, the guests from Lebanon's eastern neighbor are facing different kinds of racist behaviors by Lebanese. (AP Photo/Hussein Malla, File)

  • In this Wednesday, Sept. 11, 2013 file photo, A Syrian refugee girl washes rice outside her tent at a temporary refugee camp, in the eastern Lebanese Town of Al-Faour, Bekaa valley near the border with Syria, Lebanon. (AP Photo/Hussein Malla, File)

  • A Syrian refugee sits next to luggage at the entrance of the International Organization for Migration office as she waits with her family to board a bus to Beirut International Airport for a flight to Germany where they have been accepted for temporary resettlement, in Beirut, Lebanon, Thursday, Oct. 10, 2013. (AP Photo/Hussein Malla)

  • Syrian refugees sit next to their luggage at the office of the International Organization for Migration while waiting with their family to board a bus to Beirut International Airport for a flight to Germany where they have been accepted for temporary resettlement, in Beirut, Lebanon, Thursday, Oct. 10, 2013. (AP Photo/Hussein Malla)

  • Syrian refugees flash victory signs at the International Organization for Migration office as they wait with their family to board a bus to Beirut International Airport for a flight to Germany where they have been accepted for temporary resettlement, in Beirut, Lebanon, Thursday, Oct. 10, 2013. (AP Photo/Hussein Malla)

  • A physically disabled Syrian refugee sits in his wheelchair at the International Organization for Migration office as he waits with his family to board a bus to Beirut International Airport for a flight to Germany where they have been accepted for temporary resettlement, in Beirut, Lebanon, Thursday, Oct. 10, 2013. (AP Photo/Hussein Malla)

  • In this citizen journalism Wednesday, Aug. 28, 2013, file image provided by the United Media office of Arbeen, which has been authenticated based on its contents and other AP reporting, members of a chemical weapons investigation team with blue helmets speak with Syrian rebels in Damascus' countryside of Zamalka, Syria. (AP Photo/United Media office of Arbeen, File)