President Trump’s decision to provide weapons to the Syrian Kurds, who are fighting Isis, potentially marks a crucial change in the political geography of the Middle East. In effect, the US is choosing to support its Kurdish ally in Syria, in defiance of Turkey, whose aim is to prevent the establishment of a quasi-independent Kurdish state there.

Mr Trump approved a plan on Monday to arm the Kurds directly, in order to enable the People’s Mobilisation Units (YPG) Kurdish militia and its Arab allies to assault and capture Raqqa, the de facto capital of Isis in Syria. The US will send heavy machine guns, anti-tank weapons, mortars, armoured cars and engineering equipment to bolster the attack.

Turkey has sought in vain to persuade the US to break its alliance with the Syrian Kurds, accusing the YPG of being the Syrian arm of the Kurdistan Workers’ Party (PKK) that has been waging a guerrilla war against the Turkish state since 1984. “Both the PKK and the YPG are terrorist organisations and they are no different, apart from their names,” said Turkish Foreign Minister Mevlut Cavasoglu on Tuesday. “Every weapon seized by them is a threat to Turkey.”

Mr Trump has always said that he gives priority to defeating Isis, leading him to agree to a long-delayed plan to capture Raqqa with ground forces led by the Syrian Democratic Forces (SDF). This was said by a US official last December to have 45,000 fighters of whom 13,000 are Arabs and the rest Kurdish. It has defeated Isis repeatedly when backed by air strikes by the US-led air coalition ever since Isis besieged but failed to take the Kurdish city of Kobani in late 2014.

The US wants to inflict a double defeat on Isis by capturing both Raqqa and Mosul in Iraq over the next few months. Isis fighters are still holding out in the Old City of Mosul after a siege by Iraqi government forces that has lasted almost seven months. Most of the city has already fallen with heavy casualties on all sides and severe destruction. The loss of Raqqa and Mosul will not be the end for Isis, which is reverting to being a guerrilla organisation, but the self-declared caliphate will no longer exist as a state with an administration and extensive territory.

Raqqa, once a city of 300,000 people on the northern bank of the Euphrates River, is already isolated from the south bank by air strikes destroying bridges. The road south to Deir Ezzor, the biggest city in eastern Syria, has been cut by the SDF. Isis fighters can only move in and out of Raqqa by boat, though they have proved in Mosul that they are skilled in urban warfare using sniper teams, suicide bombers and booby traps to slow down and inflict losses on a more numerous and better armed enemy.

But the fate of Raqqa is not the only issue being decided in the fighting in northern Syria. Turkey is facing a disastrous outcome of the wars in Syria and Iraq which it once hoped would extend its influence in the northern Middle East. Since 2011, it has been seeking to overthrow President Bashar al-Assad and to stop the two million Syrian Kurdish minority gaining control of a broad band of territory along Turkey’s southern frontier.

Children of Mosul describe life under Islamic State

Turkish efforts to stop the Kurdish advance have largely failed and the intervention of Turkish ground troops west of the Euphrates in August 2016 has only been a qualified success. Its local Arab and Turkman allies were unable to take the Isis stronghold of al-Bab without Turkish army intervention. Though Turkey has offered its services to the US as an ally capable of replacing the YPG in the battle against Isis, this always looked a dubious option. It has long been obvious that President Recep Tayyip Erdogan is more interested in targeting the Kurds than in fighting Isis.

Turkey’s response to the YPG and SDF successes has been to step up military engagement in northern Syria and to threaten much tougher action. On 25 April, Turkish planes launched air strikes against YPG positions killing 20 fighters, half of them women. Mr Erdogan threatened that similar action might happen “at any time”. The US said the Turkish action was “unacceptable” and was so concerned about a Turkish ground invasion that it sent patrols of US special forces in vehicles to monitor the Syrian side of the border. For their part, the Syrian Kurdish leaders said they would not take Raqqa if Turkish military action continued.

The public decision by Mr Trump to send heavier weapons to the YPG is important primarily as a sign that the US is ignoring Turkish threats and will stick to its military alliance with the Syrian Kurds, which has served it well. This makes it difficult for the Turkish army and air force to escalate its attacks on the YPG.

Donald Trump's first 100 days: in cartoons Show all 33 1 /33 Donald Trump's first 100 days: in cartoons Donald Trump's first 100 days: in cartoons Donald Trump's first 100 days in office were marred by a string of scandals, many of which caught the eye of the Independent's cartoonists Donald Trump's first 100 days: in cartoons Trump's first 100 days have seen him aggressively ramp up tensions with his nuclear rivals in North Korea Donald Trump's first 100 days: in cartoons Mr Trump has warned of a "major, major conflict" with the pariah nation lead by Kim Jong Un Donald Trump's first 100 days: in cartoons Mr Trump dropped the "mother of all bombs" on alleged ISIS-linked militants in Afghanistan, amid an escalation of US military intervention around the globe Donald Trump's first 100 days: in cartoons Mr Trump has been accused of falling short of the standards set by his predecessors in the Oval Office, including Franklin D Roosevelt Donald Trump's first 100 days: in cartoons The tycoon's ascension to the White House came at a time when the balance of power is shifting away from Western nations like those in the G7 group Donald Trump's first 100 days: in cartoons Western politicians, including the British Conservative party, have been accused of falling in line behind Mr Trump's proposals Donald Trump's first 100 days: in cartoons Brexit is seen to have weakened Britain, reducing still further any political will to resist American leadership Donald Trump's first 100 days: in cartoons Mr Trump's leadership has been marked by sudden and unexpected shifts in global policy Donald Trump's first 100 days: in cartoons Trump's controversial missile strike on Syria, which killed several citizens, was seen by some analysts as an attempt to distract from his policy elsewhere Donald Trump's first 100 days: in cartoons The President has also spent a large majority of his weekends golfing, rather than attending to matters of state Donald Trump's first 100 days: in cartoons Though free of gaffes, a visit from Chinese president Xi Jinping spotlighted trade tensions between the two states Donald Trump's first 100 days: in cartoons One major and unexpected setback came when Mr Trump's Healthcare Bill was struck down by members of his own party Donald Trump's first 100 days: in cartoons Mr Trump has been a figure of fun in the media, with his approval at record lows Donald Trump's first 100 days: in cartoons A string of revelations about Mr Trump's financial indiscretions did not mar his surge to the White House Donald Trump's first 100 days: in cartoons Outgoing President Barack Obama was accused of wiretapping Trump Tower by his successor in America's highest office Donald Trump's first 100 days: in cartoons The alleged involvement of Russian intelligence operatives in securing Mr Trump the presidency prompted harsh criticism Donald Trump's first 100 days: in cartoons The explosive resignation of Security Adviser Michael Flynn, who lied about his links to the Russian ambassador, was just one scandal to hit the President Donald Trump's first 100 days: in cartoons Many scandals, such as the accusation Barack Obama was implicated in phone-hacking, first broke on Mr Trump's Twitter feed Donald Trump's first 100 days: in cartoons Donald Trump's election provoked mass protests in the UK, with millions signing a petition to ban him from the country Donald Trump's first 100 days: in cartoons Donald Trump cited a non-existent terror attack in Sweden during a campaign rally Donald Trump's first 100 days: in cartoons Donald Trump stands accused of stoking regional tensions in Eastern Asia Donald Trump's first 100 days: in cartoons North Korea has launched a number of failed nuclear tests since Mr Trump took power Donald Trump's first 100 days: in cartoons Theresa May formally rejected the petition calling for Mr Trump to be banned from the UK Donald Trump's first 100 days: in cartoons When Mr Trump's initial so-called Muslim ban was struck down by a federal justice, the President mocked the 69-year-old as a "ridiculous", "so-called judge" Donald Trump's first 100 days: in cartoons A week after his inauguration, Theresa May met with Mr Trump at the White House Donald Trump's first 100 days: in cartoons Donald Trump's first days in office were marked by a hasty attempt to follow through on many of his campaign promises, including the so-called Muslim ban Donald Trump's first 100 days: in cartoons Donald Trump's decision to ban citizens of many majority-Muslim countries from the US sparked mass protests Donald Trump's first 100 days: in cartoons Revelations about Donald Trump's sexual improprieties were not enough to keep him from being elected President Donald Trump's first 100 days: in cartoons British PM Theresa May was criticised by many in the press for cosying up to the new President Donald Trump's first 100 days: in cartoons One of Mr Trump's top aides, Kelly Anne Conway, was mocked for describing mistruths as "alternative facts" Donald Trump's first 100 days: in cartoons British PM Theresa May was quick to demonstrate that her political aims did not hugely differ from Mr Trump's Donald Trump's first 100 days: in cartoons Donald Trump's inauguration, on 20 January 2017, sparked protests both at home and abroad

Mr Erdogan is to see Mr Trump for the first time in Washington on 16-17 May and will seek to persuade him to reverse his policy towards the Syrian Kurds, but he is unlikely to succeed. In his final days in office, President Obama had also decided to send heavier equipment to the YPG, indicating that the pro-Kurdish policy has broad support in the US. At the same time, the Americans are trying to reassure the Turks by saying that the new weapons will be only used against Isis and the quantity of ammunition delivered will be limited to what is needed for that operation. The Turks say they fear that the arms will be handed over to the PKK and used against their soldiers.