The UK could recognise Palestine as an independent state even if the United States or Israel does not, Sir Keir Starmer has said.

Speaking at a press conference following the end of this week’s Nato summit in Washington, the Prime Minister reiterated his position that recognising Palestine needed to be “part of the process” of securing peace in the region.

Asked whether he would be willing to act on recognising Palestine before the United States or Israel, he said: “So far as our policy is concerned, I’ll determine our policy, not follow anyone else.”

He also repeated his call for an immediate ceasefire in Gaza, saying he had discussed the issue with other leaders at the summit in Washington.

He said: “Now we are in office it is our solemn duty to play our full part in resolving the conflict, which has to end. There must be a ceasefire.”

The conflict in Gaza has proved a thorn in the Prime Minister’s side since it began in October, with several senior Labour figures facing challenges at the General Election from Independent candidates over discontent with the party’s position on the war.

Former MP Jonathan Ashworth was one of several Labour candidates defeated by Independents who made Gaza a major part of their campaign, while others such as Health Secretary Wes Streeting saw their majorities slashed.

Former shadow cabinet member Thangam Debbonaire, who lost her seat to the Green Party, told Channel 4 News on Wednesday Labour’s “lack of a strong narrative” on Gaza “had consequences”.

In his press conference on Thursday night, Sir Keir paid tribute to Ms Debbonaire, saying she had done “a fantastic job in the shadow cabinet and was an incredible politician”.

He said: “I pay tribute to her, she’s got a lot to offer and she will offer a lot more.”