BORIS Johnson has been ridiculed after claiming that COP26 was held in Edinburgh - when it was held in Glasgow.

Speaking during a Downing Street press conference with COP26 president Alok Sharma, the Prime Minister was answering questions on the outcome of the historic climate summit.

The climate talks eventually led to the Glasgow Pact, which commits countries to more climate action and a historic move against coal.

Ministers and negotiators at the UN summit agreed to get countries to strengthen their emissions-cutting targets for 2030 by the end of next year as part of the bid to limit dangerous warming climbing above 1.5C.

READ MORE: Boris Johnson booed as he arrives at Glasgow Central train station

Responding to a question about the UN secretary-general's reaction to the summit, Johnson said he would not want people to think “we cracked it here at COP in Edinburgh” amid criticism from activists and politicians that it did not go far enough.

The Prime Minister said: “I don’t think Antonio Guterres, the secretary-general of the UN, would want people to think that we cracked it here at COP in Edinburgh. Of course not.”

Johnson’s mistake was quickly noticed, with journalist Adam Bienkov asking: “Does he ... realise which city he has been in?”

Writer and broadcaster Gavin Esler tweeted: “Boris Johnson has been at COP 'in Edinburgh' apparently.

“Everyone else went to Glasgow. But, Hey, who cares about the minor details?”

National columnists Gerry Hassan joined in on the criticism, saying: “Boris Johnson showing his lack of understanding of even the most basic detail.”

Another user took to Twitter to write: “Well in fairness, he was in Glasgow for about an hour throughout the 2-weeks of COP26. Easy for him to forget”

One person added: "No wonder Boris Johnson didn't come to the end discussions of COP26. He thought it was in Edinburgh!!"

The Prime Minister has seen heavy criticism during COP26 from opposition parties and activists for what they claim is a lack of leadership throughout the climate talks.

Johnson left COP a few days into the event to jet back to England to meet a climate change sceptic, only to later return amid sleaze allegations at Westminster.

READ MORE: Cummings revelations on Johnson's Brexit ignorance are truly shocking

One user replied to the video of Johnson, declaring: “Embarrassing, another boost to Scottish independence.”

And the SNP's director of communications Tom French said: “He doesn’t have even know where he is. Why is Scotland putting up with this?”

Surprisingly, Johnson isn’t the only person to have mixed up the two Scottish cities.

At the start of the climate talks, CNN was relentlessly mocked for mistakenly thinking COP was being held in Edinburgh, with host Wolf Blitzer seen in front of Edinburgh Castle.