It was the good, the bad and the ugly for Rishi Sunak during the latest TV election showdown

From Rishi Sunak, we saw the good, the bad and the ugly during the latest TV election showdown with other party leaders - and a tough and unforgiving audience.

The good came when he broke his silence on the Tory betting scandal early on in his half-hour session of questions, declaring he was "incredibly angry" and vowing that any law breakers would be "booted out" of his party.

The bad followed when he struggled to defend his own policy on national service for 18-year-olds and was tetchy with an audience member who asked about Brexit.

And the ugly came at the end when the audience angrily shouted "shame!" when he launched into Reform UK-style rhetoric about the European Convention on Human Rights and attacked what he called a "foreign court".

That sort of talk may play well with right-wing MPs and activists, but it bombed here and will have alienated those voters thinking of switching to Labour or the Liberal Democrats.

So Mr Sunak started well, got bogged down in detail in the middle and then ended badly, though he eventually did manage to land some blows on Labour on tax - as he has continued to do so throughout the election campaign.

The two takeaways from the PM's part of this election programme will be his threat to expel betting wrongdoers and his misjudging the audience on the ECHR.

But not surprisingly, that wasn't good enough for opposition MPs.

Immediately after the programme, Labour's Jonathan Ashworth told Sky News Mr Sunak still has not taken any action against Tory candidates Craig Williams and Laura Saunders, who are being investigated by the Gambling Commission.

He should have suspended them immediately, as Sir Keir Starmer has demanded, Mr Ashworth said.

But despite the shouts of "shame!" from the audience on the ECHR near the end, Mr Sunak will feel that with the Tories losing votes to Nigel Farage he had to throw the Tory right and would-be Reform UK voters some red meat.

Those Tory MPs who love to hate the ECHR will no doubt have approved of Mr Sunak's attack as far as it went - and no doubt accuse the BBC of selecting a "lefty" audience.

Before Mr Sunak, Sir Keir stumbled once again, as he did in his interview with Beth Rigby in last week's Sky News Battle for No 10 programme in Grimsby, when asked about his support for Jeremy Corbyn.

Host Fiona Bruce repeatedly challenged Sir Keir on why he said Mr Corbyn would make a great prime minister in 2019, but the Labour leader kept dodging the question and looked shifty.

Eventually, Sir Keir said, rather lamely, that Mr Corbyn would have made a better prime minister than Boris Johnson.

Tories will no doubt taunt him on that claim for the rest of the campaign.

Sir Keir's other tricky moments came when he was quizzed about his dispute with Labour MP Rosie Duffield on trans issues.

"I agree with Tony Blair," he said. But he shunned the Canterbury MP and couldn't bring himself to mention her name.

That was disrespectful. The Labour leader seems to have a problem with Ms Duffield. It makes him sound intolerant, which his critics would say is fair criticism.

The surprise here was a solid performance from the SNP leader John Swinney. He is less confrontational than the party's Westminster leader Stephen Flynn.

He has a funereal style of delivery that has previously seen him compared to an undertaker.

He could also be compared to a Church of Scotland priest reading from the prayer book, to be fair.

But he's an old pro and a details man, as he demonstrated when answering tricky questions about the SNP performance on the NHS in Scotland and was courteous with members of the audience, even when the questions were tough.

It all began with Sir Ed Davey, who was immediately greeted with the question: "Aren't you going to bankrupt the country?"

"No," he replied.

Well, it would have been a shock if he'd said yes.

Read more:
Labour vows to end rental 'bidding wars'
Green co-leader rejects Liz Truss comparison
Former Tory minister says he'll vote Labour

The second questioner was applauded after he accused Sir Ed of breaking promises in coalition government, citing the Lib Dems' U-turn on tuition fees.

He was also ridiculed by a member of the audience over his "horseplay" in the campaign, the stunts such as splashing around on Lake Windermere and riding on a rollercoaster at Thorpe Park in Surrey.

And inevitably, he was asked if he was proud of his record as Post Office minister during the Horizon scandal.

The questions were tough, but he dealt with them calmly. His style was that of a fireside chat.

With four party leaders competing this was a game of four quarters.

And this tough and unforgiving audience gave the leaders no quarter.