David Cameron’s actions over Libya have been condemned by a former Tory chairman as “doing an Iraq” while his decisions on both Syria and Libya left the White House feeling “f****ed over”, according to revelations made in a new book.

Former Tory chairman Michael Ancram made the comparison between Mr Cameron’s actions in Libya and Tony Blair’s in Iraq, in a new unofficial biography of the Prime Minister entitled ‘Call Me Dave’ and written by former Tory donor Lord Ashcroft. The book is being serialised in the Daily Mail, where the claims have been published.

Mr Ancram tells the authors - Lord Ashcroft and journalist Isabel Oakeshott - that Mr Cameron’s decisions over Libya have left the country “ungovernable… with vast amounts of weapons from Gaddafi’s arsenal moved south of the border, arming Boko Haram.”

A senior American government insider allegedly said the White House felt “f****ed over” by Mr Cameron on both Libya and Syria, while General Sir David Richards allegedly told the Prime Minister that being in the Combined Cadet Force at Eton did not make him qualified enough to make decisions over complex military operations and the tactics employed in them.

One White House insider is quoted as saying: "It was one of those astonishing displays of incompetence that sort of leaves you wondering about how, you know, have we all got this far?"

David Cameron's biggest controversies Show all 8 1 /8 David Cameron's biggest controversies David Cameron's biggest controversies Pig-gate A book released by Conservative peer Lord Ashcroft alleged that an MP and Oxford contemporary of David Cameron had allegedly seen a photograph of Mr Cameron performing a sex act on a pig while at university. Downing Street did not comment on the allegations and the peer said they could have been a case of mistaken identity David Hartley/REX Shutterstock David Cameron's biggest controversies ‘Swarm’ of migrants In July 2015 David Cameron referred to refugees coming into Europe from the Middle East and North Africa as a “swarm”. He was criticised for using the language, which critics said was dehumanising Getty David Cameron's biggest controversies Child tax credits In April 2015 David Cameron was asked whether he’d cut child tax credits. “No, I don’t want to do that,” he said, saying that he rejected reports that he would. Shortly after the election the Government unveiled cuts to child tax credits EPA David Cameron's biggest controversies Cycling to work As leader of the opposition David Cameron was regularly photographed cycling to work. In early 2006 he was photographed cycling but with a driver in a car carrying his belongings. It was suggested at the time the cycling was just for show and that having two vehicles on the road instead of one was wasteful Rex David Cameron's biggest controversies Andy Coulson David Cameron employed former News of the World editor Andy Coulson as government communications director from 2010. After stepping down from the post due to coverage of the phone hacking affairs, Mr Coulson was later found guilty of conspiracy to intercept voicemails. He served a short prison sentence AFP David Cameron's biggest controversies His personal windmill Early in his leadership of the Conservative David Cameron made an effort to change the party’s image by making eco-friendly gesures. As one of these gestures, the future PM put a wind turbine on his house. However, the turbine later had to be removed after neighbours condemned it as an eyesore and the council’s planning committee said it had been put in the wrong place Getty David Cameron's biggest controversies Funeral selfie David Cameron was pictured posing for a ‘selfie’ with Danish PM Helle Thorning-Schmidt and Barack Obama at Nelson Mandela’s funeral. Some in the press criticised the prime minister for showing in an inappropriately low level of respect for the gravity of the occasion AFP/Getty Images David Cameron's biggest controversies Eating a hotdog with a knife and fork The Prime Minister was pictured eating a hotdog with a knife and fork in the run up to the 2015 general election. He was accused of being “posh”. “I had a very privileged upbringing... I've never tried to hide that,” he said Reuters

The revelation of Mr Cameron’s apparently poor handling of Syria and Libya follows Lord Ashcroft’s extraordinary allegations that the Prime Minister reportedly “inserted a private part of his anatomy” into the mouth of a dead pig and that he smoked cannabis while studying at Oxford University.

The Prime Minister's spokeswoman said: “I’m not intending to dignify this book by offering any comment or any PM reaction to it," while privately the Prime Minister is understood to have told friends the claims are “utter nonsense”. “The author has set out his reasons for writing it,” the spokeswoman added.

In an unauthorised biography of the Prime Minister entitled ‘Call Me Dave’ and serialised in the Daily Mail it is alleged that an anonymous MP knew of a photograph of the incident with the pig’s head, which is claimed to have taken place during a notorious Piers Gaveston Society event although the anonymous MP adds that it could have been a case of mistaken identity and that he had not seen any evidence himself.

The book has been written by ex-Conservative party treasurer Lord Ashcroft, who has donated millions to the party in the past.

It is also alleged that Mr Cameron knew in 2009 of Lord Ashcroft’s “non dom” status – a year earlier than the Prime Minister had previously said to have known. The revelation that Lord Ashcroft did not pay UK tax on his overseas earnings was made in March 2010. At the time the Prime Minister said he had only known of the situation for a month.

The Prime Minister and the Tory peer fell out after the general election when Lord Ashcroft failed to be given a top position in the Coalition government in 2010, though he claims the work is “not about settling scores”.