A specialist ship has arrived at the site of one of three broken undersea internet cables to begin repairs, according to telecoms company JT.

A ship dragging its anchor on the seabed in the English Channel cut the three main internet cables to the Channel Islands on Monday.
Repair work on the first cable is expected to take a week.
Daragh McDermott from government owned JT said broadband speeds are expected to be slower during peak times.
A second ship is on the way from France to repair the second cable and JT says the third cable will be repaired after that.
Jersey's coastguard said there will be an investigation to see if the ship dropped anchor in a banned area.
Owners of the King Arthur, Mediterranea di Navigazione, said they were investigating whether it was their ship that caused the problem.
Three cables went one after the other on Monday with the first going at 16:00 GMT and the last by 21:00 GMT as the anchor was dragged across the seabed.
Mr McDermott said: "Thanks to the actions taken since the cables were cut, we have capacity in place to manage demand, although we have obviously lost spare capacity should further issues arise."


Rory McIlroy plans to play again this year after suggesting last week that he might not compete again in 2017 to aid his recovery from a rib injury.

McIlroy's management confirmed in an email that the world number four intends to defend his FedEx Cup title.
The world number four shot a 68 to tie for 22nd in the US PGA on Sunday, and has now gone three years without a major victory.
"You might not see me until next year," McIlroy, 28, had said after the US PGA.
The confirmation from his management followed a tweet from McIlroy announcing details of a competition to play with him in the pro-am before next month's BMW Championship.
The BMW Championship is the third event in the PGA Tour's FedEx Cup play-offs series.
The Northern Irishman won the second play-offs event in 2016 before clinching a £7.8m bonus as he topped the FedEx Cup standings after triumphing at the Tour Championship.
Last year, McIlroy opted to miss the opening Barclays play-offs event before winning the Deutsche Bank Championship a week later.
This year's play-offs begin with the Northern Trust event in New York from 24-27 August before the Dell Technologies Championship takes place a week later in Boston.
After a week's break, the series resumes with the BMW Championship in Illinois before the top 30 in the standings go forward to the concluding Tour Championship in Atlanta.
Following last week's US PGA Championship, the world number four said that he wasn't sure of his plans for the remainder of this season.
"You might see me in a couple of weeks' time. It really depends," said McIlroy, who suffered the injury testing equipment over the winter.
The US PGA was only McIlroy's 13th tournament of a season in which he has not won.
"I can go out there and play and shoot decent scores, but when I come off the course I feel my left rhomboid going into spasm," he added.
McIlroy took six weeks off after losing out in a play-off for the South African Open in January and also missed the PGA Championship at Wentworth and the Memorial Tournament.


Fans of Bruce Lee are criticising a new biopic of the late martial arts legend, accusing it of "whitewashing and burying" his legacy.

Birth of the Dragon follows the kung fu star's early years in the US and showcases his controversial fight with master Wong Jack Man in 1964.
Directed by George Nolfi, the movie debuted at the Toronto Film Festival.
But many fans have protested against Lee's portrayal, saying the star took "a subdued role in his own biopic".
"Is this a joke? I was here to see Bruce Lee but they put the focus on some white guy," wrote IMDb user ticklegear in a scathing online review.
"Instead of celebrating what a beast Bruce Lee was, they made him out to be some insecure and jealous loser. Seemed more like a character assassination, rather than a biopic."
He added: "A terrible film - I wouldn't recommend it as it tarnishes Bruce Lee's true history with half-baked lies."
Others who caught early previews criticised Hong Kong actor Philip Ng, describing his portrayal of Bruce Lee as "a dumb-ed down, one-dimensional character".
Many said US actor Billy Magnussen, who played fictional friend Steve McKee, became the "unfair focus" of the movie instead.
One said: "The plot was terrible and the casting choice was even worse. How is it possible that the main character became a sidekick to a Caucasian man?"
Another user said the film "disrespected the legacy of Bruce Lee", and recommended boycotting it.
"The movie serves to perpetuate negative stereotypes regarding Asian women, men and culture."
The film is the latest to court controversy over "whitewashing" in Hollywood. US actress Scarlett Johansson caused a stir by taking on the lead role in the Hollywood remake of the Japanese anime Ghost in the Shell, which was traditionally an Asian character.
Director George Nolfi has defended his film.
"To be able to watch this white guy become a fully formed man, with Bruce Lee and Wong Jack Man becoming these surrogate father figures to him, even though they were about the same ageâ€¦ I thought that was very unusual in Hollywood filmmaking," he told Deadline.com.
But Lee's daughter Shannon has distanced herself from the biopic and has announced plans for a second Bruce Lee movie, currently in the works.
She told a UK newspaper: "There have been projects out there involving my father but they've lacked a complete understanding of his philosophies and artistry.
"They haven't captured the essence of his beliefs in martial arts or storytelling. The only way to get audiences to understand the depth and uniqueness of my father is to generate our own material."
Reporting by the BBC's Heather Chen in Singapore.


An interactive light artwork has been installed in Hull illuminating the city's tidal barrier.

The installation involves people's words being projected on to the barrier's west tower.
Titled The City Speaks, it is the second in a series of temporary commissions marking Hull's year as UK City of Culture.
Hull 2017 chief executive Martin Green said the project celebrated "the voice of the people on an epic scale".
Spectators speak into a microphone at a nearby steel lectern with the words electronically transcribed into text before being illuminated on the landmark.
Artist Michael Pinsky said: "Hull's tidal surge barrier plays a significant role in protecting the city from flooding.
"This installation gives a new voice to the people of Hull and in doing so celebrates resilience and freedom."
Mr Green said the artist had "created an extraordinary visual statement on one of Hull's most prominent landmarks".
The installation runs until 31 December.


Researchers from Aberystwyth University will be the first of five teams to record the latest total eclipse of the sun, which crosses the US on 21 August.

The scientists have joined an international team of solar scientists to study the event.
Dubbed the Great American Eclipse 2017, the eclipse will last about two minutes and 40 seconds.
And Swansea-born singer Bonnie Tyler is to perform her 1983 hit Total Eclipse of the Heart while it is taking place.
Tyler, who will perform on a cruise ship positioned in the path of the eclipse, told Time magazine it was "so exciting".
Meanwhile, Dr Joe Hutton and Steve Fearn from Aberystwyth's department of physics will be recording the event in the rural town of Mackay, Idaho.
They will deploy a new spectrometer designed to capture the light during totality - when the moon completely blocks the sun's light.
Dr Hutton said: "Totality only lasts two minutes in one given spot, but the shadow of the moon will make landfall in the USA for a total of about an hour and thirty minutes, as it slowly sweeps across.
"By having these five observations points along this path of totality, we can build up a time series of the solar atmosphere using the eclipse observations, something which hasn't been done before on this scale.
"So it is very exciting."


Two North Wales Police officers, who it was claimed failed to follow up allegations against a former police chief, have been cleared of misconduct.

The former superintendent, Gordon Anglesea, was convicted of historical child sex offences last month.
The claim made in court about the two officers was referred to the force's professional standards team.
But Chief Constable Mark Polin said an internal inquiry had found "no evidence of misconduct... to this point".
The National Crime Agency's Operation Pallial investigators discovered that in 2002 one of Anglesea's victims had passed a note to officers naming him as an abuser.
Records indicated they took no further action.
But Mr Polin said: "It has been investigated from a misconduct perspective and no evidence of misconduct has been found to this point."
He went on to give assurances that nothing would be swept under the carpet: "Any allegations of misconduct will be investigated. They will be investigated thoroughly and objectively."
Anglesea, 79, from Old Colwyn, was convicted of one charge of indecent assault against one boy, and three indecent assaults against another.
He is due to be sentenced on Friday at Mold Crown Court.


Scientists are trying to better understand a complex system of oceanic currents that affects the climate over large parts of the world.

The North Atlantic Subpolar Gyre affects the weather of the North Atlantic and Europe, and also plays a part in the formation of hurricanes.
The research has so far helped to better predict stormy conditions for the UK in the forthcoming winter.
The work involves Southampton, Oban, Oxford and Liverpool based scientists.
The researchers have been leaving instruments below the surface of the sea off Rockall, an eroded volcano that lies 260 miles (418km) west of the Western Isles, and off Cape Farewell in Greenland.
Small robotic submarines called gliders have also been used to gather data.
The information that is being amassed includes the temperature of a northward flow of warm water between Rockall and Scotland.
The warm water cools and sinks to the bottom of the ocean in the area north of Iceland, and can be seen as a returning southward flow of cold water off southern Greenland.
Dr Penny Holliday, of the National Oceanography Centre (NOC) which is leading the research, said it was important to gain a better understanding of the subpolar gyre.
Along with other research, the study of it has already helped to create more accurate models predicting stormy weather this coming winter, she said.
Dr Holliday added that understanding and recording conditions now would also help in predicting changes to climate in the future.
Led by NOC, the research project - UK-OSNAP - is a partnership between the Southampton-headquartered oceanography centre, Scottish Association for Marine Science in Oban, University of Oxford and University of Liverpool.
UK-OSNAP is part of a much larger international project involving the US, Canada, France, Germany, the Netherlands and China and backed by funding of almost Â£30m.
So far, elements of the five-year UK research that began in 2013 have taken the UK scientists to Rockall where instruments are being left in the Rockall Trough for a year at a time before being recovered and replaced with more equipment.
Gliders have also been used to gather more instantaneous information.
The instruments off Cape Farewell are left in the water for two years.
The North Atlantic Subpolar Gyre not only affects the climate of the North Atlantic and Europe, but also the rainfall in places such as the Sahel in Africa, the Amazon and parts of the US.


Donald Trump changed the image at the top of his new @POTUS account after Twitter users spotted it was from Barack Obama's 2009 inauguration.

Mr Trump inherited the official presidential account as he was sworn in as America's 45th president.
The original image showed flag-waving crowds in front of the US Capitol.
But it was changed about an hour later, amid claims from Mr Trump's opponents that crowds at his inauguration were not as large as in 2013.
Trump supporters on social media branded claims Mr Trump was trying to make his inauguration appear better-attended "pathetic" and a "non-story".
The header image has since changed again from a stock picture of an American flag to an image of the new president gazing out of a window.
Mr Trump's @POTUS account has gained millions of followers since its launch, as all 13.6m followers of Barack Obama's account - now archived at @POTUS44 - are in the process of being ported over to the new Trump account.
The new president's first tweet was a link to a Facebook post of the full text of his inauguration address.
His former twitter account still has more than 20m followers.
Speaking ahead of the event, Mr Trump said his inauguration would have "an unbelievable, perhaps record-setting turnout".
But the number of people who turned out to view his midday swearing-in appeared to be smaller than the estimated two million who turned out for Obama.
Images of the National Mall, taken from the top of the Washington Monument, showed sections of the white matting laid down to protect the grass were largely empty.
There will be no official estimate of the crowd's size to settle the issue.
Compare 2017 inauguration with 2009 with our interactive images
For decades, the US National Park Service provided official crowd estimates for gatherings on the National Mall.
But the agency stopped providing counts after organisers at 1995's Million Man March threatened a lawsuit. They complained that the National Park Service undercounted attendance at the march.
More people turned out to witness Mr Trump and his entourage travelling along Pennsylvania Avenue to the White House on Friday afternoon.


A historic venue in Glasgow has changed hands in a multi-million pound deal.

Merchant Square and four other bar and restaurant units on nearby Candleriggs were sold by Merchant City Properties for a combined price of Â£9.5m.
They were bought by Clydebuilt Fund, which is owned by the Glasgow City Council-administered Strathclyde Pension Fund.
Merchant Square is housed in part of Glasgow's Old Fruitmarket.
Developers Ediston Real Estate said plans were being drawn up to enhance and improve the properties, as well as bringing redundant space in Merchant Square back into use.
Ediston director of investment Calum Bruce said: "These acquisitions fit Clydebuilt's strategy of buying assets we believe we can enhance further.
"The leisure market in Glasgow has seen significant expansion over the last 18 months, and as the city centre reaches saturation point we are confident the Merchant City will benefit as operators look for new opportunities and locations to expand into."


England lost to the USA in a sudden-death shootout in the last four of the World League Semi-Finals.

Media playback is not supported on this device
England took an early lead in Johannesburg through Hannah Martin.
But, with England reduced to 10 players after Lily Owsley's yellow card, Jill Witmer equalised with three minutes to go as the match finished 1-1.
Sarah Haycroft scored England's only penalty to cancel out Melissa Gonzalez's strike, but Gonzalez later clinched victory for the USA.
USA play Germany, who beat Argentina 2-1, in Sunday's final while England face Argentina in the third-place playoff.
"We are obviously disappointed with the result," said England coach David Ralph. "It was an intense, tight game that unfortunately didn't go our way."
"This is a great group, though, and we will regroup and look forward to playing Argentina on Sunday."
Head coach Danny Kerry missed his side's final two group games because of illness, and he will not be at the Argentina match.
Women's Hockey World League: Fixtures, results and standings
Kerry's side, who had already guaranteed qualification for November's World League Finals in New Zealand, looked to be on course for the final when they broke the deadlock in the second quarter.
Sophie Bray, on her 100th appearance, found Martin inside the area and she flicked home to finish an impressive team move.
But the USA dominated possession thereafter and could have won it in normal time were it not for England goalkeeper Maddie Hinch.
The Rio 2016 gold medallist made a succession of great saves to deny the world's sixth-ranked side from successive penalty corners in the final quarter.
But, with Owsley off the field, Michelle Vittese combined with Witmer, who neatly touched the ball home to take the game to a penalty shootout.
Gonzalez netted USA's first penalty to hand her side the advantage.
Hinch saved their next four penalties but that feat was matched by USA counterpart Jackie Briggs.
Haycroft took the shootout to sudden death but England captain Alex Danson had her attempt saved as Gonzalez sent USA through.
England starting XI: Maddie Hinch (GK), Giselle Ansley, Laura Unsworth, Hollie Webb, Anna Toman, Sarah Haycroft, Emily Defroand, Susannah Townsend, Nicola White, Alex Danson (c), Sophie Bray
Substitutes: Used: Zoe Shipperley, Grace Balsdon, Shona McCallin, Jo Hunter, Hannah Martin, Lily Owsley; Unused: Amy Tennant (GK)


A cigar box once owned by Nazi number two Hermann Goering has sold for £3,200, nearly the auctioneers' estimate of £800 to £1,200.

It was given to the Luftwaffe commander-in-chief for his 50th birthday by Erhard Milch in 1943.
Field Marshal Milch, who was half-Jewish and received Goering's protection, was found guilty of war crimes after World War Two.
The box was sold to an anonymous phone bidder by J P Humbert Auctioneers.
It was one of a number of items associated with Goering sold at the auction in Whittlebury in Northamptonshire.
A silver bowl presented to him by the German Hunting Association went for £2,220 and an ivory letter opener given to him by the Japanese government made £680.
Auctioneer Jonathan Humbert said the results "show the continued fascination with high-ranking members of the Nazi Party".


SNP leader Nicola Sturgeon has told the BBC that even a "thumping win" at next year's Scottish elections would not be enough to push for a second referendum.

Earlier she had opened her party's Aberdeen conference calling on those against independence to vote SNP.
In an interview with the BBC's political editor Laura Kuenssberg, Ms Sturgeon said she would judge whether "No" voters had changed their minds.
Ms Sturgeon is due to address her conference again on Saturday.
In her BBC interview, Scotland's first minister said: "That [winning next year's election] in and of itself I don't think makes another referendum inevitable because many people I hope - and I take nothing for granted - but I hope vote SNP who didn't support independence, who might not support independence yet, and who might never support independence."
Ms Sturgeon would not be drawn on whether a second referendum would take place while she was in charge.
As the SNP dominates its rivals, Scotland's future in the UK does not feel remotely settled.
That's why it is impossible for her to escape the speculation about a potential date for another vote that would separate Scotland from the rest of the UK.
And that's why it matters that she told the BBC today for the first time, that the results of the Scottish elections next year will not be a trigger for another referendum.
So if it is not straightforward electoral success, what will it be? She has said repeatedly if the rest of the UK votes to leave the EU that could be a trigger for another vote.
But she and the rest of the leadership are not willing to set any other fixed tests, referring again and again to a "consistent and clear" shift in public opinion. In short - they'll only go for it when they think they can win.
Read more from Laura
As Ms Sturgeon delivered her conference opener in the hall, it was evident that passion still pays in terms of applause. They responded jubilantly to the suggestion that there were key drivers which could boost support for independence: further UK austerity, the replacement of Trident, above all British exit from the EU without Scottish consent.
Told that a referendum might well have to be deferred, the response was decidedly cooler. Not sullen, but solemn. Not the sort of thing they really want to hear, all things being equal.
Do I detect a significant insurrection against the Sturgeon line? I do not. Yes, there is some disquiet, mostly born of frustration that things are not other than they are. But most members understand the pragmatic strategy.  What is more, they respect and adore their leader. For the most part, they will take her lead.
Read more from Brian
And on the timing of such a vote, she said: "It will be down to whether we judge, I judge, that people who voted 'No' last year have changed their minds."
Ms Sturgeon believed the SNP remained the best party to govern Scotland.
In her opening speech to the party faithful, the MSP said  that if her party were to win a third term it would build 50,000 affordable homes, worth Â£3bn.
The conference in Aberdeen is the largest the SNP has held.
The SNP has enjoyed remarkable success since last year's referendum, winning all but three of Scotland's 59 seats in the general election earlier this year.
With fewer than seven months to go until voters elect representatives to the Scottish Parliament, she insisted the SNP was "also a party with another mission".
She told delegates: "There will, understandably, be significant interest in what our manifesto will say about independence.
"But let me make this clear: What matters just as much to me and to people across the country will be what it says about jobs and the economy, the safety of our communities, our hospitals and health centres, our schools, colleges and universities and our plans to use new powers to tackle poverty and inequality.
"On all of these issues and many, many more, our manifesto will set out radical, ambitious and progressive policies to make this country even stronger."
Some 3,500 delegates have registered to attend the conference, along with almost 1,000 observers, exhibitors and journalists.
The party is now four times larger in terms of membership than it was on 18 September last year, when the independence referendum was held.
Opinion polls have suggested it holds huge leads over Labour, the Conservatives and Liberal Democrats in voting intentions ahead of next year's elections.
Ms Sturgeon told the conference: "In the general election in 2010, fewer than half a million people voted SNP. In the Scottish election a year later, our support grew to just over 900,000 votes.
"And in the general election this year, almost 1.5 million people chose our party.
"That's almost one million more people - in just five years and across all parts of our country - persuaded to put their trust in the SNP to lead Scotland forward."
The SNP will be "the strong, united and progressive opposition" to the Conservatives at Westminster that people across the UK "are crying out for", she said.
By BBC Scotland political report Philip Sim
Although not all of the 3,500 delegates had arrived by the time Nicola Sturgeon took to the stage to officially open the 2015 SNP conference, she was given a rapturous welcome.
Much of the early talk on stage and among delegates has been about the scale of this event, the biggest gathering of the SNP.
There is a certain measure of pride mixed in with the excitement apparent in the conference hall, with emphasis on the party's still-growing membership and healthy showing in the polls for next year's Holyrood elections.
Ms Sturgeon was keen to stress that her party was about more than just independence, even pitching to "No" voters during her opening speech.
And while the biggest cheer was uttered when she underlined her belief in independence, this diverse band of party supporters also seem to have embraced the wider policy platform.
There was standing room only at fringe events discussing everything from healthcare to executive pay, while crowds gathered around exhibition stalls promoting issues from Palestine to cancer research.
The conference so far is very much geared towards underlining how big the SNP has become - and how broad its interests and influence are.


Marcus Ericsson will stay at Sauber for the 2017 season after signing a one-year contract extension.

The Swede, 26, joined Sauber in 2015 but has not scored a point in this season's drivers' championship.
"It is great news," Ericsson said. "I have developed a lot as a driver during my time at Sauber. We have had ups and downs, but we always stick together and work as hard as we can."
Sauber said they will announce their second driver for 2017 in due course.


It was just minutes before kick-off, and that's when it happened.

Media playback is not supported on this device
Paris Saint-Germain's £50 million defender David Luiz waved across the Parc des Princes pitch and then gestured with a thumbs up. Beaming with a bright smile I waved back immediately, then embarrassment set in.
I realised the recognition wasn't for me, it was for another Ballymena man standing just to my left, the head groundsman at PSG.
I was immensely proud for Jonathan Calderwood. A man raised just 'up the road' from me in Clough, County Antrim. This is a matchday ritual for Jonathan, receiving accolades from some of the world's most expensive footballers.
"When we played Barcelona, I was told that Messi and Neymar both said it was the best pitch they've ever played on, when we played Real Madrid in September I got the same feedback from them," he said.
It all started at east Belfast club Glentoran, where Jonathan cut his teeth (and grass) at the Oval.
Next stop was the old Wembley Stadium in London, which coincided with his studies at Myrescough College, where he gained a National Diploma in Turf Science.
Jonathan worked his way through the ranks, ending up as deputy head groundsman at Wembley.
Calderwood went on to become head groundsman at Wolverhampton Wanderers before a move to Aston Villa.
During 15 successful years at Villa Park he picked up multiple turf related awards including two Premier League Groundsman of the Year trophies. At Villa he met Gerard Houillier, one of the game's most respected managers.
Meanwhile, across the English Channel a group of investors from Qatar made PSG one of Europe's richest football clubs. They wanted the very best of everything, including the blades of grass on the Parc des Princes pitch.
On the advice of Houllier that meant a groundsman from Clough. He told PSG that Jonathan was the best groundsman in the world and Carlo Ancelotti, their manager at that time, agreed.
Jonathan and his family moved to a new life in Paris and he made an immediate impact, becoming French Groundman of the Year in his first season.
He added: "When you hear someone saying 'the guy just cuts grass' it's a little bit hurtful because I know what skills are involved, what dedication, what hours, what knowledge and experience goes into having a pitch like what we have at PSG.
"Modern day football pitches are so complex and so complicated. I spent three years full-time at university and I would say 90% of my time was spent in the laboratory doing soil analysis, weeds, pesticides, disease management, wind, water, sunshine, fertiliser programmes and aeration - there is so much to it.'
Jonathan's story doesn't end there, for his pitch will host Northern Ireland's game against Germany in Euro 2016.
"If you're a groundsman like me, you want to work at the very top and it doesn't come much bigger than the European Championships," he said.
"For me to move to Paris and for Northern Ireland to end up playing Germany in Paris on my pitch it doesn't get any better than that - it's like a dream come true."
So Jonathan has already had recognition from some of the best players in the world - come 21 June he'll be hoping for a thumbs up from the likes of Steven Davis, Jonny Evans and manager Michael O'Neill.
Who knows, that could be after a win over the world champions!


Two people have been arrested on suspicion of the murder of a man who was found dead in his flat.

Christopher Laskaris was found at St John's Close in Hyde Park, Leeds, on 17 November.
A 37-year-old man and a 22-year-old woman, both from Leeds, have been arrested, West Yorkshire Police said.
Mr Laskaris' family said the 24-year-old, who was known as Adam to his friends, was a "deeply loved" son and brother.
Read more about this and other stories from across West Yorkshire
In a statement they said: "Losing him has broken our hearts and words cannot express our pain. He was 24 years old and his future has been tragically cut short.
"We would appreciate privacy while we try to cope with our terrible loss."
The family also urged anyone with any information to contact West Yorkshire Police.


A Saudi Arabia-led coalition has ended its bombing campaign against rebels in Yemen, Saudi state television has said.

The coalition's Decisive Storm campaign had achieved its military goals, the report said.
A new operation would be called Restoring Hope, focusing on a political solution in Yemen and on security and counter-terrorism at home.
The coalition had carried out almost a month of strikes but had largely failed to halt the Houthi rebels' advance.
Yemen has been in chaos since the Houthi, or Zaidi Shia, rebels, took control of the capital, Sanaa, in January and placed President Abdrabbuh Mansour Hadi under house arrest.
Mr Hadi escaped and took refuge in Aden in February, but left the country at the end of March when the Houthis, backed by army units supporting ousted former President Ali Abdullah Saleh, reached the outskirts of the southern port city.
Analysis: BBC Middle East editor Jeremy Bowen, in Jeddah, Saudi Arabia
The coalition's official objective was restoring the internationally recognised Yemeni president and destroying the Houthi rebels who overthrew him.
The wider objective was stopping what Saudi sources said was Shia Muslim Iran's plan to dominate another Arab country. Iran has denied the Saudi claim that it directed the Houthi militia - though it seems to have sent it arms.
The Saudis have claimed victory in the first stage of their campaign. But the Yemeni government has not been restored and the Houthi militia is still fighting supporters of the ousted government and still controls the capital.
The Americans have been getting increasingly concerned about the costs of the bombing campaign - especially the number of civilians being killed - and the fact that al-Qaeda in Yemen has been using the chaos to strengthen its position.
Saudi coalition spokesman Brig-Gen Ahmed al-Asiri told a press briefing in the Saudi capital, Riyadh on Tuesday: "[The coalition] has ended Operation Decisive Storm based on a request by the Yemeni government and President Abdrabbuh Mansour Hadi."
Gen Asiri said the campaign was ending at midnight and that the rebels no longer posed a threat to civilians.
He said: "Those objectives were achieved by very good planning, very precise execution, by the courage of our pilots, our sailors, our soldiers."
Gen Asiri said the Restoring Hope campaign would be aimed at rebuilding Yemen while continuing to oppose the rebels.
But the general did not rule out future air strikes.
The Saudi defence ministry said the air campaign had "removed threats to Saudi Arabia's security and that of neighbouring countries" by "destroying heavy weaponry and ballistic missiles which were seized by the Houthi militia".
The Sunni-ruled Saudi Arabia has accused Shia-led Iran of backing the Houthis, something Tehran denies.
Fresh air strikes had been carried out on Tuesday, with almost 30 people reported killed, many of them civilians.
At least 20 died when aircraft bombed a convoy of Houthi rebel fighters on a bridge in the western city of Ibb, residents and security sources said. Nine others were killed in the northern city of Haradh, near the Saudi border.


Plans for an immigration removal centre next to Glasgow Airport have been unveiled.

The UK Home Office wants to build a 51-bed "short-term holding facility" on Abbotsinch Road to house those awaiting removal from the country.
It follows the announcement last month that the controversial Dungavel removal centre in Lanarkshire is to close in 2017.
The plans are currently being considered by Renfrewshire Council.
If approved, the new building would be constructed on a former British Airways social club, known as The Clansman, and feature 20 bedrooms and ancillary accommodation over two floors.
The plans say the building would have to be "robust in order to hold and safeguard individuals detained by Home Office Immigration enforcement".
The accommodation, which would be encircled by a 3.6m fence, would feature 12 bedrooms for male detainees and five for females as well as two bedrooms for those classed as vulnerable and one for a disabled person.
The Home Office said the "vast majority" of stays there would be for less than a week.
UK Immigration Minister Robert Goodwill said the facility would provide easy access to London airports, "from where most removals take place, meaning those with no right to be in the UK can be removed with less delay".
Mr Goodwill also said the closure of Dungavel would result in "significant savings to the public purse".
Dungavel, which opened near Strathaven in 2001, can hold up to 249 detainees.
It is the only such centre in Scotland and has been the subject of numerous protests, which branded the site "racist and inhumane"
Much of the criticism concentrated on the detention of children at the facility, before the practice was ended in 2010.
More recently it has focused on the length of time detainees were held at the facility and the conditions inside.
Last year, the BBC revealed that dozens of failed asylum seekers had been held at Dungavel for months and in some cases more than a year.


Images of seven men police want to identify after rival fans clashed outside West Ham's stadium have been released by the Met.

Violence flared following the Hammers' 1-1 Premier League draw against Middlesbrough on 1 October.
Four people have been arrested over the disorder while a fifth man has been charged with ticket touting at the game.
Scotland Yard said it would "do our utmost to identify those responsible".
Supt Jonathan Williams said the violent scenes have "absolutely no place at football matches" and called on witnesses to contact police.
Details of the people previously arrested over the disorder:
The three men and one teenager were all bailed until November.
There have been several crowd disturbances since West Ham moved to the former Olympic Stadium.
It was recently announced supporters will face enhanced security checks, an alcohol ban and a "robust policing plan" when Slaven Bilic's side host Chelsea in the EFL Cup.


There's been a flurry of activity related to the EU referendum as the political year in Wales comes to a close.

Is this a sign of things to come? Absolutely.
Campaigners from Britain Stronger in Europe are in Wales on Thursday. I'm told there'll be a Welsh launch of the Vote Leave campaign early in the new year.
And now the head to head between Carwyn Jones and Nigel Farage in January will ensure the EU debate remains firmly centre stage in January.
In February we could get a date for the referendum. There's some speculation it could be June as the Prime Minister wants to avoid another summer of migration crisis headlines.
When you consider the possible timeline, you can see why some involved in the assembly election are nervous that devolved issues will struggle to get heard amid the noise of the first EU vote in a generation.
There are plenty who say June is too tight a deadline, with September, or even 2017 looking more likely, in which case there'll at least be the chance to catch a breath between the two votes.
Welsh Labour want to try to separate the assembly election and the EU referendum campaign as much as possible. That may be easier said than done, particularly with UKIP due to play such a prominent role in the assembly campaign.
Labour's campaign launch to remain in the EU this week threw up a headline writer's dream when two of the big beasts, Peter Hain and Carwyn Jones, clambered into the cockpit of an aircraft.
The photo call at the International Centre for Aerospace Training, near Cardiff airport, attracted the inevitable and admittedly cliched "in for a turbulent ride" line from some journalists. I'll have to put my hands up to that one.
There was a nod to concerns over immigration and welfare but this was Welsh Labour giving its unconditional support for membership of the EU, regardless of what David Cameron can achieve in his renegotiation talks.
Even by the standards of pro-European rhetoric, the warnings were eye-catching: a loss of more than Â£1bn, 200,000 jobs at stake and the end to farming as we know it.
The UKIP "ludicrous" response was expected. Stephen Crabb's decision to go on the attack was more surprising, as he called Labour's claims "outlandish" and criticised Peter Hain's record on Europe, referring to his efforts to get Britain to join the Euro 15 years ago.
Stephen Crabb doesn't have the Eurosceptic credentials of his predecessor David Jones but nevertheless we now know he's not afraid to sound critical on the subject.
Labour's central argument is that Wales is uniquely exposed to a UK withdrawal because of the scale of EU aid it receives.
This is referred to as a "great lie" by David Jones. His view is that a Westminster government would have enough extra money in the event of a withdrawal to replace the lost aid.
There's no definitive answer but expect many to have a go at dealing with the question at length in the new year.


A supermarket has introduced a new shopping experience to help people with mental and physical disabilities.

During the weekly "slow shopping" sessions at Sainsbury's in Gosforth, staff have been trained to offer a helping hand.
The store also provides seats and help desks, offers fruit and cake samples, and packs items for customers.
Customer Katherine Vero campaigned for slow shopping after her mother suffered from dementia.
She said: "My mum used to love shopping, but as her dementia developed it became increasingly difficult and stressful for us both.
"When she passed away I wanted to make the experience better for other people.
"I was delighted when Sainsbury's agreed to help me trial it. I hope other retailers will follow."
Lesley Howson is one of those to take advantage of the two-hour sessions on Tuesday afternoons.
She said her autism meant she needed more time to shop.
"I like coming here because the staff are nice", she said.
"They're very understanding and you can take your time."


Mae'r ymgyrchydd canser a sylfaenydd ymgyrch Hawl i Fyw, Irfon Williams, o Fangor, wedi marw yn 46 mlwydd oed.

Roedd yn wyneb a llais cyfarwydd yng Nghymru ers iddo gael diagnosis o ganser y coluddyn ym mis Ionawr 2014.
Penderfynodd nad oedd am ddioddef o'r cyflwr yn dawel, ac fe aeth ati i sefydlu ymgyrch Tîm Irfon i gefnogi cleifion canser yn y gogledd.
Y nod oedd codi arian i Apêl Awyr Las i dalu am wigiau, triniaethau amgen a chefnogaeth iechyd meddwl i gleifion canser.
Cafodd yr ymgyrch ei lansio yn Eisteddfod yr Urdd Y Bala ym mis Mai 2014, gyda digwyddiad wedi ei drefnu lle'r oedd pawb yn gwisgo wigiau i godi ymwybyddiaeth.
Mae'r ymgyrch wedi codi dros £150,000 erbyn hyn, gyda channoedd o bobl wedi gwneud pob mathau o bethau i godi arian.
Bu Irfon yn destun rhaglen arbennig fel rhan o'r gyfres 'O'r Galon' ar S4C yn ddiweddar, pan fu'r camerâu yn dilyn ei deulu dros y blynyddoedd diwethaf.
Wrth roi teyrnged iddo, dywedodd ei wraig Rebecca Williams fod ei gŵr wedi wynebu ei salwch gyda dewrder ag urddas.
Ychwanegodd nad oedd byth yn cwyno am ei sefyllfa ac fe "ddefnyddiodd ei sefyllfa i fod o gymorth i eraill".
"Gwthiodd ei gorff i'w ffiniau er mwyn derbyn unrhyw driniaeth fyddai'n prynu cymaint o amser ag oedd yn bosib," meddai.
"Roedd pob eiliad yn cyfrif i Irfon oedd yn llawn bywyd ag i unrhyw un oedd yn ei adnabod roedd Irfon yn gymaint o hwyl pan roedd o gwmpas."
Wrth ymateb i'w farwolaeth, dywedodd Dr Peter Higson a Gary Doherty, cadeirydd a phrif weithredwr Bwrdd Iechyd Prifysgol Betsi Cadwaladr: "Roedd Irfon Williams, oedd yn gweithio yn Ysbyty Gwynedd fel nyrs a rheolwr Gwasanaeth Iechyd Meddwl Plant a Phobl Ifanc, yn gydweithiwr gwerthfawr fydd yn cael ei gofio am ei ddewrder a'i agwedd benderfynol at fyw bywyd yn llawn.
"Roedd yn angerddol am ddarparu'r gofal gorau i gleifion ac fe gafodd ei gyfraniad ei nodi gan Goleg Brenhinol Nyrsio Cymru, gan ennill gwobr Plant a Bydwreigiaeth yn 2012.
"Fe wnaeth Irfon gyfraniad anferth i gael cleifion i ymwneud mwy gyda'u triniaeth a hybu iechyd meddwl i bawb.
"Roedd yn hynod o benderfynol drwy gydol ei salwch, gan sefydlu #tîmirfon gydag Awyr Las, elusen Gwasanaeth Iechyd Gogledd Cymru, gan godi dros £150,000 ac fe fyddwn a miloedd o gleifion yn ddyledus iddo am hyn am byth.
"Bydd colled fawr ar ei ôl. Ar ran y bwrdd iechyd rydym yn cynnig ein cydymdeimlad dwysaf i deulu Irfon a'i gylch eang o ffrindiau."
Dywedodd Claudia McVie, prif weithredwraig elusen Tenovus: "Mae pawb yn Tenovus wedi eu tristau o glywed y newyddion am farwolaeth Irfon Williams.
"Ar ôl iddo deithio i Loegr i dderbyn y driniaeth canser yr oedd angen arno, fe weithiodd Irfon yn ddiflino i wneud hi'n decach i gleifion canser yng Nghymru i gael cyffuriau canser.
"O ganlyniad i'w ymgyrchu, gall cleifion yng Nghymru dderbyn y cyffur Cetuximab ar gyfer triniaeth canser y coluddyn - sy'n rhodd i fod yn falch iawn ohoni."
Roedd Irfon Williams yn rhoi pwyslais mawr ar bwysigrwydd iechyd meddwl, ac roedd yn rheolwr gwasanaethau iechyd meddwl plant a phobl ifanc i Fwrdd Iechyd Prifysgol Betsi Cadwaladr cyn iddo gael ei daro'n wael.
Tra roedd yn sâl fe sefydlodd gwmni Hanner Llawn i roi cyngor a chefnogaeth i bobl ar agweddau iechyd meddwl.
Dywedodd fod ei gefndir wedi ei helpu o a'i deulu i ymdopi yn ystod ei salwch.
Roedd yn defnyddio ei brofiadau yn ei waith bob dydd i addysgu eraill am ei gyflwr, a chafodd ei wahodd i nifer fawr o ddigwyddiadau i godi ymwybyddiaeth a thrafod effaith canser ar gleifion ar draws y gogledd.
Ddyddiau ar ôl ei ddiagnosis fe briododd Irfon â'i bartner, Rebecca, gan fod y ddau eisiau wynebu'r siwrne o'u blaenau fel pâr priod.
Fe ddechreuodd ei driniaeth canser yn Ysbyty Glan Clwyd ac Ysbyty Gwynedd, ac yn ystod y cyfnod yma, daeth ei ymgyrch i gael yr hawl i dderbyn y cyffur Cetuximab i sylw'r cyfryngau cenedlaethol, gan nad oedd y cyffur ar gael i gleifion yng Nghymru ar y pryd.
Bu'n rhaid iddo symud ei driniaeth i Loegr er mwyn cael y cyffur, ac fe fu'n ddigon llwyddiannus i leihau'r tiwmorau gan olygu iddo allu derbyn llawdriniaeth i'w tynnu nhw ym Medi 2015.
Fe glywodd yn ddiweddarach y flwyddyn honno ei fod yn glir o ganser, ond ychydig cyn y Nadolig y llynedd daeth y newydd fod y canser yn ei ôl ac nad oedd gwellhad y tro hwn.
Drwy gydol ei salwch, bu'n siarad yn ddewr ac agored am ei brofiad.
Fe gafodd ei achos sylw yn ystod un o sesiynau holi'r Prif Weinidog yn San Steffan, wrth i wleidyddion drafod yr hawl i gleifion dderbyn y Cetuximab yng Nghymru.
Yn ddiweddarach cafodd wahoddiad i fod yn aelod o banel yn adolygu'r broses o ymgeisio am feddyginiaethau sydd ddim wedi eu cymeradwyo gan y gwasanaeth iechyd.
Ddechrau mis Mai daeth y cyhoeddiad fod Irfon ymhlith y bobl fydd yn cael eu hanrhydeddau gan Orsedd y Beirdd, wedi i'r sefydliad benderfynu ei urddo gyda'r Wisg Las yn Eisteddfod Genedlaethol Môn eleni.
Bydd yn cael ei gofio am ei ymgyrchu brwd dros hawliau cleifion canser, ac am ei allu i edrych ar yr ochr gadarnhaol o fywyd waeth pa heriau yr oedd yn ei wynebu.
Mae'n gadael ei wraig Rebecca, a phump o blant.


A grief-stricken Australia captain Michael Clarke said Phillip Hughes's number 64 one-day shirt would be retired following his death.

Hughes died on Thursday aged 25 two days after being hit by a ball.
Clarke said: "I asked Cricket Australia if Hughesy's one-day international number 64 could be retired, to which they agreed. That means so much."
Hughes's funeral will be on Wednesday and Australia's first Test against India will not start on Thursday.
Pausing frequently to wipe away tears, Clarke said: "Our promise to Hughesy's family is that we will do everything we can to honour his memory.
"He epitomised what the baggy green is all about and what it means to us all.
"Our dressing room will never be the same. We loved him, and always will. Rest in peace."
Before its delayed start was announced, former Australia captain Ricky Ponting said the Test match against India in Brisbane should not start on Thursday.
"I don't think it would be right," he said. "Even if the boys think they can play it would be a miracle if they find the right frame of mind needed for five days of cricket."


Southend have signed right-back Jason Demetriou and former Gillingham winger Jermaine McGlashan on two-year deals.

Former Leyton Orient player Demetriou, 28, joined Walsall last summer after playing for five years in Cyprus.
Capped 28 times by Cyprus, he played 53 times for Walsall in 2015-16 as they lost in the League One play-off semi-finals, but rejected a new deal.
McGlashan, also 28, was released by the Gills after scoring seven goals in 67 appearances over two seasons.
His contract has the option of a third year and he will face his former side in both of Southend's opening fixtures of the season, with the Essex side hosting Gillingham in both League One on the opening day and in the EFL Cup three days later.
Find all the latest football transfers on our dedicated page.


Dundee defender Darren O'Dea hopes the club can keep full-back Paul McGinn at Dens Park.

McGinn, 25, is out of contract this summer and has been linked with Hibs, where his brother John, 21, plays.
"I thought when I first came in that Paul was a decent player," said Republic of Ireland cap O'Dea, 29.
"But the more I've seen of him, I now realise he is a very, very good player. I really hope he is here next year, but that's down to the club and him."
Having started his career at Queen's Park, McGinn joined Dundee from Dumbarton after impressing for the Sons.
He has made more than 70 appearances for Paul Hartley's side.
"His contract is running out," said former Celtic player O'Dea. "I couldn't tell you where the club are at with their talks with him.
"But I'd like to think they are doing their best to keep him because, not only is he a fantastic player now, he's a player who will only get better.
"We don't know what position he is in. There's speculation linking him to Hibs and he's maybe considering that because he doesn't have a contract offer here.
"Maybe he has to consider it because he has to look after himself. You'd need to ask him why he's not signed.
"The reason I've stayed is because this club is certainly moving in the right direction.
"They are ambitious and have tied down a number of lads, so I hope Paul remains here at the club."


Thieves have taken tools including a cement mixer and a power washer from a yard in Dumfries and Galloway.

The incident happened at JMC Contracts in Kirkconnel some time over the weekend.
A wide range of builders' tools worth more than Â£9,000 was taken when a container in the yard was broken into.
PC Scott Graham said a large vehicle and a number of people would have been needed to take the tools.
"We are asking for the help of the public to see if anyone saw or heard anything suspicious around the yard, which sits between St Conal's Square and the River Nith, over the weekend," he said.


Pictures from a camera sent to the edge of space on a balloon and found by two girls have been published.

The balloon was launched near Bristol on Saturday as part of a 10-year project, entitled A Decade with Mars, by artists Ella Good and Nicki Kent.
It came down later in Miskin, near Cardiff, and was found by Mia Williams, nine, and her friend Ffion Payne.
Footage captured by the camera shows the mountains of Wales and the River Severn.
The girls were playing in Mia's back garden when they noticed something "green and orange heading towards us very quickly".
When they went to investigate they found the camera on the ground with a phone number written on it.
Mia's father Jamie Williams contacted the two artists to say they had found the camera.
"We got the call about an hour-and-a-half after the launch," said Miss Good.
"We were surprised as the prediction was that it would land in the Bristol Channel so we were delighted to hear it was safe."
Before launching the balloon from Yate Common, the artists spent time in local primary schools talking about space travel and the future.
"We worked with seven- to nine-year-olds. The workshops were about that they will be 17 to 19 when A Decade With Mars finishes, so we discussed what they might be doing in 10 years' time, and how the world might change," said Miss Good.
The images from the balloon represented "the closest most of us will ever get to launching in to space", she added.
The project will also see the artists stay in touch with a group of non-astronauts who applied to the Mars One Project to become the first people to colonise Mars.


The US does not yet have a "complete strategy" for helping Iraq regain territory from Islamic State (IS), President Barack Obama has said.

He said the Pentagon was reviewing ways to help Iraq train and equip its forces.
But Mr Obama said a full commitment to the process was needed by the Iraqis themselves.
He had earlier met Iraqi Prime Minister Haider al-Abadi on the sidelines of the G7 summit in Germany.
IS has recently made gains in Iraq despite US-led coalition air strikes.
In May the militants seized Ramadi, the capital of Anbar, Iraq's largest province, as well as the Syrian town of Tadmur and the neighbouring ancient ruins of Palmyra.
US officials cited a lack of training as a major factor in the fall of Ramadi.
But Mr Obama said that the 3,000 US service personnel in Iraq sometimes found themselves with "more training capacity than we've got recruits".
"We don't have, yet, a complete strategy, because it requires commitments on the part of Iraqis as well about how recruitment takes place, how that training takes place," Mr Obama told a news conference.
"We want to get more Iraqi security forces trained, fresh, well-equipped and focused and [Mr] Abadi wants the same thing so we're reviewing a range of plans for how we might do that."
He said it was important to draw Sunni Muslims into the fight against IS.
"We've seen Sunni tribes who are not only willing and prepared to fight Isil [IS], but have been successful," he said.
"But it has not been happening as fast as it needs to."
President Obama said although IS remained "nimble, aggressive and opportunistic", he was "absolutely confident" it would be driven out of Iraq. He said Mr Abadi needed the support of the international coalition as well as a government that represents all the Iraqi people.
He said all countries in the coalition were ready to do more to help train Iraqi security forces.
Earlier, UK Prime Minister David Cameron said Britain was sending an extra 125 military trainers to Iraq.
Last month, US Defence Secretary Ashton Carter said the loss of Ramadi was partly due to the Iraqis' lack of a "will to fight".
Iraq has become increasingly reliant on Iranian-backed Shia militias to take on IS in recent months.
The move has raised fears of worsening sectarian tensions as the militias try to drive the jihadist fighters out of predominantly Sunni areas like Anbar.
President Obama faced strong criticism last year for saying the US did not have an overall strategy for fighting IS, and some US Republicans say IS is benefiting from muddled thinking in the White House.
"We aren't winning the fight against Isil because we don't have a winning plan," Republican Representative Kevin McCarthy said.
On Monday, the Pentagon said Iraqi forces and Shia militias were "making progress" in the battle for the city of Baiji and its nearby oil refinery.
Col Steve Warren said "friendly forces" were in the city and "beginning methodically to root out the enemy".
He said "progress" was also being made at the refinery.
Control of the oil refinery - Iraq's largest - has changed hands several times in recent months. Baiji's capture is seen as crucial for plans to attack IS in the city of Mosul, because of its position on the main road north from the capital Baghdad.
IS overran Mosul, Iraq's second largest city, as it swept across northern Iraq in its June 2014 offensive.


Welsh triathlete Leanda Cave says she is frustrated after missing out on selection for the Commonwealth Games.

United States-based Cave revealed on her website she has not been picked for Glasgow 2014.
The 36-year-old has won world titles at triathlon and Ironman, and claimed a silver medal for Wales at the 2002 Games in Manchester.
"I will not be representing Wales... in Glasgow. It's disappointing on so many levels," she said.
Cave has concentrated on the longer-distance Ironman events in recent seasons, winning the world titles at Ironman and half-Ironman in 2012.
She was Olympic-distance world champion in 2002 and long distance (raced over double Olympic distance) in 2007.
Cave had been hoping to be one of three athletes Wales could send to Glasgow along with reigning world champion Non Stanford and twice-former world champion Helen Jenkins.
She says that "the very talented" Stanford and Jenkins had both been selected and that she was prepared to play a supporting role to them.
In preparation for the Games, Cave competed International Triathlon Union Continental Cup events over the Olympic distance in Mexico and Chile earlier in 2014, winning both.
The Welsh team for the Glasgow event has not been officially named, and Welsh Triathlon Cymru has declined to comment.
"I'm really disappointed, it was really my last opportunity [to represent Wales at a Commonwealth Games]," Cave told BBC Wales Sport.
"I take every opportunity I can get and I really did everything that was laid out for me under the selection criteria that was established at the end of last year.
"Unfortunately they decided to change the goal-posts in the selection criteria based on an ITU [International Triathlon Union] rule change, which really came late in the game.
"I'd already set myself up for making a position based on the previous selection criteria.
"I just feel very disappointed in the whole process, I feel a little disappointed that it was more about having a team in the relay than having an athlete in the individual event that they were really concerned about.
"I feel I have so much to offer: my experiences as an athlete, I'm a pretty well known name in the sport and I definitely feel I could have helped... play a role in the race to help Non and Helen.
"The role could change and be very flexible to how the race was going.
"I'm racing really well and I also feel like I have the ability actually perform really well. The worst part is now I'll never know."


Barnsley sealed promotion to the Championship as two goals in the first 19 minutes set up their League One play-off final win over Millwall.

Ashley Fletcher slotted home after just 88 seconds, before Adam Hammill's 25-yard curling shot doubled the lead.
Both had scored for Barnsley in their Johnstone's Paint Trophy final win over Oxford at Wembley eight weeks earlier.
Mark Beevers fired in Millwall's reply from close range but Lloyd Isgrove's header secured Barnsley's victory.
The Tykes were bottom of League One in December but a superb run of form under interim boss Paul Heckingbottom saw them finish sixth in the table, and their two-year exile from the Championship was ended by wins over Walsall and Millwall in the play-offs.
Millwall were forced into a late change before kick-off when centre-back Byron Webster was injured in the warm-up, with Tony Craig taking his place.
A mix-up in the Lions defence from a long ball allowed Fletcher to take advantage, as the on-loan Manchester United forward held off Carlos Edwards and fired across Jordan Archer into the bottom corner.
The south London side lacked composure and cohesion in the opening 25 minutes, and Barnsley capitalised again when Hammill cut in from the left and bent an exquisite shot into the top corner without being challenged.
Beevers' close-range finish reduced the deficit but the second half was a scrappy affair with few clear-cut chances, and Millwall could not recover from their poor start.
Millwall had been looking to secure an immediate return to the second tier but boss Neil Harris, in his first full season in charge, will have to pick up his squad for another promotion bid next season, having finished fourth in the table.
Barnsley looked comfortable on their second visit of the season to the national stadium, having suffered just one defeat since mid-March to reach the play-offs.
With Millwall increasingly playing the ball long in the second period, it was the Yorkshire side who made the crucial breakthrough, as goalkeeper Archer failed to collect Conor Hourihane's corner and Isgrove headed into an empty net.
The Tykes looked more likely to score a fourth in the closing stages, although Chris Taylor forced Barnsley goalkeeper Adam Davies into a late save.
With 13 victories in 21 games, winning the club's first cup final since 1912 and now winning promotion to the Championship, Heckingbottom has made a strong case to take charge on a more permanent basis.
The 38-year-old - part of the Barnsley squad promoted from the third tier in 2006 - built on work done by Lee Johnson, who left Oakwell for Bristol City in February.
Providing a constant threat for Barnsley on the left touchline, his goal - a sublime long-range effort into the top corner - put the Reds in the driving seat in the first half.
After a successful spell at Barnsley early in his career, Hammill returned to Oakwell in November with the club struggling towards the foot of League One.
His form has been a key reason for their improvement in the second half of the campaign, and having scored in their Football League Trophy final win in April, Hammill found the net at Wembley again to help his side to promotion.
Barnsley interim manager Paul Heckingbottom: "The message was always that we would start speaking after our last game of the season.
"Now we can sort everyone's future out. Everyone knows I want to stay. If I hadn't been on the bench I'd have been here watching.
"You can't imagine how proud I am of the players. They are Championship players now and they have earned it."
Millwall manager Neil Harris: "I'm disappointed with the scoreline. We came full of hope and expectation but we didn't perform for 90 minutes.
"We had spells where we looked good but over the course of 90 minutes we gave two poor goals away and the second goal was a great strike. Barnsley deserved to win the game."
Match ends, Barnsley 3, Millwall 1.
Second Half ends, Barnsley 3, Millwall 1.
Foul by Marley Watkins (Barnsley).
Shaun Williams (Millwall) wins a free kick in the defensive half.
Corner,  Millwall. Conceded by Josh Scowen.
Offside, Millwall. Shaun Williams tries a through ball, but Lee Gregory is caught offside.
Attempt saved. Steve Morison (Millwall) header from the right side of the box is saved in the top centre of the goal. Assisted by Shaun Williams.
Attempt blocked. Adam Hammill (Barnsley) right footed shot from the centre of the box is blocked.
Attempt blocked. Ivan Toney (Barnsley) right footed shot from the centre of the box is blocked. Assisted by Josh Scowen.
Attempt missed. Sam Winnall (Barnsley) header from the centre of the box misses to the left. Assisted by Marley Watkins with a cross.
Attempt saved. Chris Taylor (Millwall) right footed shot from the centre of the box is saved in the centre of the goal. Assisted by Aiden O'Brien.
Foul by Sam Winnall (Barnsley).
Shaun Williams (Millwall) wins a free kick in the defensive half.
Substitution, Barnsley. Marley Watkins replaces Lloyd Isgrove.
Attempt missed. Aiden O'Brien (Millwall) header from the centre of the box misses to the right. Assisted by Steve Morison with a cross.
Attempt missed. Sam Winnall (Barnsley) right footed shot from the centre of the box is too high. Assisted by Conor Hourihane with a cross following a corner.
Substitution, Millwall. Shaun Williams replaces Carlos Edwards.
Substitution, Barnsley. Ivan Toney replaces Ashley Fletcher.
Corner,  Barnsley. Conceded by Lee Gregory.
Substitution, Millwall. Fred Onyedinma replaces Ben Thompson.
Goal!  Barnsley 3, Millwall 1. Lloyd Isgrove (Barnsley) header from very close range to the centre of the goal. Assisted by Conor Hourihane with a cross following a corner.
Corner,  Barnsley. Conceded by Carlos Edwards.
Conor Hourihane (Barnsley) wins a free kick on the left wing.
Foul by Nadjim Abdou (Millwall).
Foul by Sam Winnall (Barnsley).
Nadjim Abdou (Millwall) wins a free kick in the defensive half.
Corner,  Barnsley. Conceded by Shane Ferguson.
Josh Brownhill (Barnsley) wins a free kick in the defensive half.
Foul by Nadjim Abdou (Millwall).
Attempt saved. Aiden O'Brien (Millwall) right footed shot from the centre of the box is saved in the centre of the goal. Assisted by Nadjim Abdou.
Attempt missed. Nadjim Abdou (Millwall) right footed shot from the centre of the box is close, but misses to the right. Assisted by Lee Gregory.
Offside, Millwall. Mark Beevers tries a through ball, but Lee Gregory is caught offside.
Marc Roberts (Barnsley) is shown the yellow card for a bad foul.
Foul by Marc Roberts (Barnsley).
Lee Gregory (Millwall) wins a free kick on the left wing.
Attempt saved. Adam Hammill (Barnsley) left footed shot from the right side of the box is saved in the centre of the goal. Assisted by Lloyd Isgrove.
Corner,  Barnsley. Conceded by Mark Beevers.
Attempt missed. Alfie Mawson (Barnsley) header from the centre of the box misses to the left. Assisted by Adam Hammill with a cross following a corner.
Corner,  Barnsley. Conceded by Carlos Edwards.
Attempt missed. Sam Winnall (Barnsley) header from the centre of the box misses to the left. Assisted by Lloyd Isgrove with a cross.


A Labour MP has described as "brutal" a local party meeting where 300 people turned up, reportedly heckling those opposed to Jeremy Corbyn's leadership.

Thangam Debbonaire, MP for Bristol West, told the BBC she had not felt intimidated, but other Labour members had told her they felt "scared".
One local party member has blogged about how she was left in tears.
Momentum member Annie Thomas said there was "excitement" and tension but she did not hear "insults or abuse".
Mr Corbyn has faced dozens of resignations from Labour's front bench, as the vast majority of the Parliamentary Labour Party have called on him to quit. But he remains leader, backed by many party members who have held rallies in his defence. He wrote in the Guardian that the party's membership had swelled in recent weeks by 100,000, since the EU Referendum.
Labour Party member Ruth Davies blogged about the Bristol West constituency Labour Party's AGM on Thursday evening, at which Ms Debbonaire talked about the EU Referendum and her resignation as shadow minister for arts and culture.
Ms Debbonaire quit in June, telling Jeremy Corbyn "it is with sadness that I have concluded that you are not the right person to lead us".
Asked about Thursday's two-hour meeting, she told BBC Points West it had been "challenging" as more than 300 people had turned up and they had only been expecting 100 - so there was not enough room.
"I did my best to hear as many voices as I could. Many people have contacted me saying despite that, unfortunately, they felt there were some people in the room who were making a lot of noise and were trying to dominate the meeting."
"It was brutal, I think some people found it very difficult. I didn't feel intimidated but then I'm not easily intimidated but other people have said they were scared. People in the back of the room in particular said there was a lot of aggression and they were uncomfortable."
Ms Davies told the BBC she had been called a "traitor" and a "conspirator" when she called for "respectful calm discussion".
"As soon as Thangam started to speak about Corbyn, there was a vocal group of people who were shouting her down and heckling throughout," she said.
"There seems to be a mentality that if you don't uncritically support Corbyn then you must be the enemy."
But Annie Thomas, a local Momentum member, said the room the meeting was held in was not big enough, a large amount of people had turned up and it had been hot, "so you could feel the tension building" and she said there was some "heckling from both sides".
She said she did not see or hear any insults or abuse and did not recognise all the people who had turned up, so could not say whether they were Momentum members.
She said the annual meeting had involved contested elections to the local party executive: "Clearly the events of the last few weeks in Parliament have actually coloured those elections because many people have felt very cross."
"However, Momentum does condemn all abusive behaviour, I didn't see any abuse, I saw a lot of excited people who wanted to have their say."


For his role in Our Girl, Iwan Rheon had to film scenes in a Huey helicopter, the side window open, flying over the plains of South Africa.

"I looked down at the ground and there was the shadow of the helicopter and I thought I was in Apocalypse Now."
So far, so movie-like.
"But then I turned around and Lacey (Turner) said, 'My seatbelt's come off' so I quickly started to hope that we weren't going to lose our leading actress."
Helicopter hiccups aside, the danger was avoided and the cast got through filming for the second series of the military drama.
It began last week on BBC One, continuing the story of Lacey Turner's army medic Molly Dawes as she heads to Afghanistan.
Rheon has returned as Smurf ("It's not a sexy name"), an ex-flame of Turner's character.
"She's such a fantastic actress," he said. "She knows what she's doing. She doesn't mess around.
"The way she's learnt her trade in a soap opera (She was Stacey Slater in Eastenders). She makes her decisions on how to deliver lines at home. She gets on."
Rheon did his time in soap too, working for two years on Welsh language series Pobol y Cwm.
"There's no time to be an actor when you do soap," he said. "There's incredible productivity in soap opera. It's so difficult. Maybe that's why me and Lacey get on."
As filming in Afghanistan was impossible, South Africa acted as an Afghan substitute.
"It was incredible experience, a beautiful place," he said.
"But working in the helicopter was hard because the scenes are so intense, you're about to land and you go, 'Look at that giraffe over there'."
If you weren't a soap fan living in Wales, Rheon's also recognisable from his time as Sean in Misfits.
Saying that, you might know him as Sir Ian McKellen's co-star in sitcom Vicious.
More likely, you'll detest or love him as The Bastard of Bolton in Game Of Thrones.
"I guess I don't really mind playing detestable," he said. "The fact that people find him detestable means I'm doing well I suppose."
He confirms he's filming the new series but discussing any plot points in THAT show is out of bounds. Plus we didn't want any spoilers anyway.
Considering the level of success Game Of Thrones has had, plus the obsession of its fans, it's surprising that Rheon doesn't run into more trouble when he's off set.
"I've never been abused in the street but I know that when people see me and (co-star) Alfie Allen out at the bar after filming, they say 'I don't know how you are friends'.
"I say to them, 'Well, do you believe in dragons too?'"
He and Alfie Allen are mates off-screen but to be honest, the way things are right now, it's not clear how long that will last.
"I'm absolutely destroying him at pool at the moment. I'm winning 6-1 but he keeps coming back for more."
Follow @BBCNewsbeat on Twitter and Radio1Newsbeat on YouTube


Waves of carnivorous starfish are eating their way through Australia's Great Barrier Reef - and sugar cane farming is being blamed.

Researchers at Australia's Institute of Marine Science (AIMS), just outside Townsville, Queensland, in north-east Australia, have mapped the pattern of destruction.
"Coral cover is half of what it was 27 years ago, coral cover is going down at an alarming rate." Dr Katharina Fabricius, coral reef ecologist and AIMS principal research scientist, told the BBC World Service programme Discovery.
She said the biggest culprit was the Crown of Thorns Starfish (COTs).
"There are three main sources for the coral decline, one is storms, however 42% is attributed to Crown of Thorns Starfish - and just 10% due to bleaching. This compares with 70% due to bleaching for reefs elsewhere in the world , such as in the Caribbean."
Bleaching occurs when corals are stressed by changes in conditions such as temperature, light, or nutrients. They expel the symbiotic algae living in their tissues, causing them to turn completely white.
Australian scientists are now looking at ways to reduce the destruction wreaked by starfish, which have the ability to smother coral and digest the fleshy parts.
"Crown of thorns are amazing creatures, they can grow to larger than a dinner plate they have multiple arms they're covered in spines," said Craig Humphrey, manager of the AIMS SEASIM project, the world's largest marine environment simulator.
"They go onto a coral, invert their stomach and dissolve and digest the coral tissue."
The SEASIM team is running a series of experiments on COTs to look at ways of lessening their impact on coral.
There have always been COTs outbreaks: go into the fossil record and you can find the spines of COTs throughout geological history.
But while outbreaks have occurred over many years, they now seem to be increasingly in frequency - and nutrients from land-based agriculture are the probable culprit.
"The conjecture is the agricultural practice has reduced the time between COT outbreaks," said Mr Humphrey.
"At a point north of Townsville, you'll get an initial outbreak then you'll see waves of COTs spreading down the reef, and they'll consume massive amounts of coral - they do massive damage.
"We've held COTs here on restrictive diets, but you put them into a tank with coral and within 12 hours they'll have consumed all the tissue on that coral."
Excess fertiliser from agriculture, in Queensland particularly from sugar cane farming, is leached into rivers which then run into the sea, taking these concentrated nutrients to the reef.
The Great Barrier Reef (GBR) is on a continental shelf, which contributes to the problem, acting as a barrier to the further dispersal of nutrients from the land.
"The GBR is having a higher nutrient status because of what's coming down the rivers - and the main cause of the runoff is agriculture, contributing nutrients to the system at rates that are probably six to 10 times higher than in pre-industrial times," said Dr Fabricius.
John Brodie is team leader of the Catchment to Reef Processes Research Group at James Cook University. He explains that historically only a tiny proportion of COT larvae survived to adulthood - but the agricultural nutrients are changing that.
"Crown of Thorns are very fecund animals: each female can produce between five and 20 million eggs per animal - so a lot of eggs.
"The larvae drift in the water for about five weeks and eat phytoplankton."
In just the same way that algal blooms have been created in other parts of the world, in Queensland an increase in the amount of agricultural nutrients in the seawater has led to a vast increase in the amount of phytoplankton - which the COT larvae need to survive.
As Mr Brodie explains: "What have we done, we've pumped a whole lot of nutrients in, we've increased the amount of phytoplankton enormously at just the right time of year, so instead of 0.0001% of the larvae surviving, now 10 times as much survives.
"Usually we have tiny number of larvae surviving, now we've got big numbers - 10 million eggs per female - so each reef might have a million animals, so now you're talking about five trillion in the water at a time, the numbers are extraordinary."
Mr Brodie has been working with Queensland's sugar cane farmers to try and reduce the amount of fertiliser entering the sea.
He seems to be having some success, reducing levels by 2-3% by suggesting to them that using less fertiliser will save them money and help protect the recreational fisheries that they use.


A Scottish climber has given insights into the work involved in setting up physical stunts in the new movie King Arthur: Legend of the Sword.

Kirk Watson, of Aviemore, was part of a small team working with Cairngorms-based firm Mountain and Water Safety Specialists on the fantasy adventure.
Mr Watson said the team and cast made long treks to locations in Scotland for stunts, including one on a cliff edge.
Members of the same team also worked on the films Prometheus and 47 Ronin.
These films - the first directed by Ridley Scott and part of the Alien movie franchise, and the second starring Keanu Reeves - involved scenes on Skye.
The safety specialists, led by Liam Irving and Graeme Douglas, also worked on Gerard Butler's new film The Keepers, which was made in south west Scotland.
Stunts performed in Scotland for the Guy Ritchie-directed King Arthur involved its lead, Charlie Hunnam.
Mr Watson, who is originally from Torphins in Aberdeenshire, said: "On King Arthur we started filming at The Devil's Pulpit near Glasgow.
"This involved a huge amount of rigging and rope work.
"We arrived before the crew to make the gorge safe first then the crew arrived and we rigged massive lights near the edges, set up Tyroleans (a rope system for crossing a space) to get equipment across the gorge and winch systems down into the gorge to get camera equipment and other kit down there.
"Lots of rope systems were set up round the edge of the gorge to keep grips tied on in case they slipped while concentrating on the camera cranes."
He added: "Down in the gorge those of us with experience of working in the sea and white water rapids put on dry suits to work with the stunt team and crew in the water."
Mr Watson said the filming done in the water was for scenes involving a plunge down a waterfall and a fight between Hunnam and giant beasts.
"Next to Torridon," said the climber and drone pilot, who five years ago was involved in making the first fictional feature film to be shot in Antarctica, a horror flick called South of Sanity.
"In Torridon, we had winch systems set up through very steep rocky ground to get kit up to the cave."
Mr Watson added: "The stunt team were doing some full-on rolls on a cliff top so we rigged systems to safeguard them and the small camera team on the cliff edge. They swapped in and out with Charlie.
"We also did some scenes on Beinn Bhan with Charlie hanging out right on the edge of the cliff.
"There was lots of humphing heavy kit up here to set up a big crane."
The safety team's last location was that poster isle of the film industry - Skye.
The Misty Isle has been appeared in a swathe of recent movies, including the upcoming Transformers: The Last Knight.
Mr Watson said: "We filmed on The Quiraing, one of the best-known features of the landscape of Skye.
"We had some extra Skye locals here as there was a fair distance to carry all the kit.
"We shot a bunch of scenes and our job was mainly looking after folk on the steeper ground and carrying kit up the bits that most folk needed hands to get up."
Looking back over the experience on the King Arthur movie, Mr Watson said: "The crew were a great bunch of folk.
"Guy Ritchie was on the shoot each day and Charlie was our only actor for the Scottish bit. He's a very sound and down to earth guy.
"The director of photography, John Mathieson, I have worked on a few jobs with and been on hikes in Scotland with. He is a good crack.
"John, who filmed Gladiator and Hugh Jackman's recent Wolverine film Logan, always seems keen to film in Scotland."


Keighley chairman Gary Fawcett hopes a fund set up for the family of the late Danny Jones will eventually top £1m.

Media playback is not supported on this device
Jones, 29, collapsed by the side of the pitch during Sunday's League 1 game at London Skolars and was later pronounced dead of a suspected cardiac arrest.
Donations for Jones's wife, Lizzie, and their five-month-old twins have already passed £70,000.
The Rugby Football League's target is £100,000 but Fawcett says it "needs to be over £1m".
The RFL's benevolent fund has so far received 4,500 donations and will be boosted further by proceeds from Keighley's next match against Coventry at Cougar Park on Sunday, which Jones' family is expected to attend.
"At the time of writing, the fund that has been set up for Lizzie, Bobby and Phoebe stands at £72,000 and I know that there is a huge amount of fundraising to be done over the coming weeks," Fawcett said.
"We all know that there will be a wave of donations from all the rugby league clubs, in particular, over the course of next week which will smash the RFL's current £100,000 target for the fund.
"This is fantastic and amazing and yet it is simply not good enough."
Jones, who began his career at hometown club Halifax, scored more than 1,000 points in 150 appearances for Keighley and won 12 caps for Wales.
Keighley are to retire Jones' squad number six and rename their main stand the Danny Jones Stand.


The British conductor and violinist, Sir Neville Marriner, has died at the age of 92, the Academy of St Martin in the Fields says.

Sir Neville started his musical career with the London Symphony Orchestra.
He later established the Academy of St Martin in the Fields, one of the world's leading chamber orchestras.
Its chairman, Paul Aylieff, said Sir Neville's artistic and recording legacy with orchestras and audiences worldwide was "immense".
"He will be greatly missed by all who knew and worked with him and the academy will ensure it continues to be an excellent and fitting testament to Sir Neville," Mr Aylieff added.
A statement from the academy said its founder had passed away peacefully in the early hours of Sunday.
Born in Lincoln in 1924, Sir Neville studied at the Royal College of Music and the Paris Conservatoire.
He first played in a string quartet, then in the London Symphony Orchestra, during which time he decided to form a chamber ensemble from London's finest players.
A group of friends began rehearsing in Sir Neville's front room, before taking their name from the London church of St Martin in the Fields where they staged their first performance in 1959.
The academy, which Sir Neville became life president of, says it now has one of the largest collections of recordings of any chamber orchestra in the world.
Sir Neville has been widely honoured for his work which includes recording the soundtrack for the 1984 film, Amadeus, and becoming the oldest conductor to lead at the Proms, in 2014 at the age of 90.
In March, he was made a Companion of Honour by the Duke of Cambridge at Buckingham Palace, and has also been honoured in France, Germany and Sweden.


The headmaster and teacher of a former Fife school have been convicted of physical and sexual abuse against six pupils more than 30 years ago.

John Farrell, 73, of Motherwell, was found guilty of four charges and Paul Kelly, 64, of Plymouth, was convicted of seven charges.
They abused boys aged between 11 and 15 at St Ninian's in Falkland, a school for children from troubled backgrounds.
It was run by the Christian Brothers organisation and closed in 1983.
Farrell and Kelly, who both denied all charges, were remanded in custody pending sentencing next month.
Judge Lord Matthews said the men had been convicted of "very serious matters".
The pair, who were found guilty after a 13-week trial at the High Court in Glasgow, were both placed on the sex offenders register.
The jury acquitted Farrell of 18 charges relating to the case, while Kelly was acquitted of 22 charges.
Farrell, who was the headmaster, was convicted of physically abusing one boy and sexually abusing three others.
Kelly was found guilty of sexually abusing two boys and sexually and physically abusing a third.
One of the victims was sexually abused by both men on different occasions.
The victims were abused between 1979 and 1983, when they were aged between 11 and 15.
The abuse was uncovered due to the tenacity of one victim, who sparked an investigation after he made a formal complaint to the Archdiocese in 2013.
That inquiry uncovered many more complainers.
During the trial, the court heard that Kelly's bedroom was described as an "open area" where pupils often spent the night.
Boys said they were told by Kelly they were being abused for their "sexual education".
In his evidence, Kelly said he had "never sexually molested anyone" and claimed that he spent his free time reading Tolkein.
Prosecutor Kath Harper later asked him: "Did you really think having boys sleep in your room would be approved of in general terms?"
Kelly: "No, but at St Ninian's I just thought of it as the way it was."
Farrell initially moved to England when St Ninian's closed, but soon returned to Scotland where he was ordained as a priest. He retired from the priesthood in 2012.
He denied being a child abuser and insisted that he had stuck to a vow of celibacy made when he joined the Christian Brothers.
Three other men linked to St Ninian's - ex-social worker Michael Murphy, 75; Edward Egan, 76; and William Don, 62 - had also faced abuse allegations, but these were thrown out during the trial.
Prosecutors had originally listed more than 100 charges involving 35 boys.
Ch Insp Nicola Shepherd, of Police Scotland, said: "For a number of years these men, who were placed in a position of trust, carried out prolonged abuse on a significant number of vulnerable young people.
"They betrayed that trust in the most despicable manner possible and subjected their victims to years of suffering.
"It is thanks to the courage of those who came forward to provide us with vital information that we were able to bring Farrell and Kelly to justice for their crimes."
An NSPCC Scotland spokesman said: "Abuse can ruin childhoods and Kelly and Farrell exploited their positions of trust to cynically target vulnerable children.
"As a result of the enormous bravery of the victims in speaking out these men won't be able to hurt any more children."


One of England's biggest exam boards, OCR, almost failed to issue its GCSE and A-level results on time last year, the exams regulator has said.

Ofqual's investigation into the handling of GCSE and A-Level results said the near miss was caused mainly by problems with an online marking system.
But Ofqual decided not to prosecute the board after it put things right and published the 2014 results on time.
OCR said students and teachers can feel confident about this year's results.
"Regardless of the timing of this report, students and teachers can feel confident about this summer (2015)," said a spokesman for the board.
"All A-level marking has been completed and the quality of marking has been upheld."
Last year's problems at the exam board occurred after it decided to move to a 100% online marking system and tightened up some of its processes.
The scrapping of re-sits and early entry exams also meant OCR had nearly one million extra papers to mark in the summer.
Ofqual had to intervene after concerns were raised about the exam board's ability to mark all the 2014 GCSE and A level papers on schedule.
The problems came to light during the regular meetings with exam boards that the regulator had last year in the weeks leading up to results day.
The Ofqual chief executive said in a letter to the board: "The events of last summer caused Ofqual the greatest concern. For a time there seemed to be a real possibility that OCR would fail to issue timely results."
"The consequences had that happened might have been catastrophic; for candidates, for schools and universities and for the wider system.
"The detrimental impact on public confidence in our system might have taken many years to overcome," the letter added.
Universities rely on receiving A-level exam results ahead of candidates, who all hear on the same day, in order to be able to manage their offers of places and admissions to courses.
OCR said it had met last year's deadline for the university and college admissions services despite having many extra scripts to mark electronically.
But it admitted that last summer's marking did not go as smoothly as it would have wanted.
"Although we delivered the results on time, as soon as possible after the actual results day we launched a voluntary 'warts and all' investigation," a spokesman said.
"We welcome the regulator's report as it confirms we delivered the results on time, took the right steps to improve our system resilience and that Ofqual did not need to take any regulatory action," OCR added.
And the spokesman stressed that no doubt had been cast on the accuracy of last year's marks.


The man accused of murdering MP Jo Cox will not give evidence in his defence, the Old Bailey has heard.

Thomas Mair, 53, is accused of murdering the Labour politician in Birstall, West Yorkshire, on 16 June, a week before the EU referendum vote.
The 41-year-old was shot and stabbed outside a constituency surgery.
Jurors heard that Mr Mair, who denies murder, said in his first court appearance "death to traitors - freedom for Britain" when asked his name.
He also denies grievous bodily harm with intent, possession of a firearm with intent to commit an indictable offence and possession of an offensive weapon - a dagger.
His defence, Simon Russell Flint QC, said Mr Mair had no previous convictions or cautions.
The court also heard from Mrs Cox's close friend and colleague Labour MP Stephen Kinnock, who said it had been a dream come true for Mrs Cox - MP for Batley and Spen - to stand for her local area.
In a statement read out in court, he said she would talk about the joy of representing a diverse community.
He described her as an internationalist, who saw the world as being very small.
Her priority was the poor and dispossessed, he said, and she had no interest in party political point scoring.
The last time he saw her was a week before her death at a party on her houseboat, the court heard.
She was incredibly well-liked and popular, and always found time for people, he added.
In his closing speech, prosecutor Richard Whittam QC said the evidence was compelling that Mr Mair had murdered Mrs Cox outside Birstall library as constituents waited to speak to her.
He said she was most likely shot once in the head with a sawn-off rifle, then stabbed with a dagger.
Despite having the "element of surprise", Mr Mair failed in his first attempt and returned to shoot and stab Mrs Cox once more, the court heard.
Mr Whittam said: "Perhaps he underestimated Jo Cox's tenacity and courage."
Mr Whittam returned to evidence from one of Mrs Cox's aides, Fazila Aswat, who told the trial the man had said "Britain first" as he carried out the attack.
She described cradling the MP's head in her lap, as she urged her and another colleague to "get away - let him hurt me, not you".
Mr Whittam told the jury: "The sheer barbarity of her murder and the utter cowardice of her murder bring the two extremities of humanity face to face."
He said the attack had brought out the best in people, including a 77-year-old man who was wounded trying to help Mrs Cox and people in a cake shop who attempted CPR to try to save her.
He submitted that Mr Mair's defence counsel did not have enough substance to dent the prosecution case.
A blood spot from Jo Cox was found on the gun, he said, and the dagger also had DNA associated with Mr Mair and Mrs Cox on it.


Lancashire all-rounder Steven Croft has signed a new contract.

Blackpool-born Croft captained the Red Rose for the majority of the season after Tom Smith was injured and led the team to their first T20 Blast title.
He hit five half-centuries in the T20 tournament and scored at an average of 41.61, including two hundreds, as Lancashire were promoted from Division Two of the County Championship.
"I want to help us win more trophies," the 31-year-old said.
"We want to be the first club to defend the T20 Blast and challenge back in the top division of the County Championship.
"It's a really exciting time to be part of this club and it's great to see the talent in the changing room, particularly with some of the younger guys signing new contracts as well."
The length of the new deal has not been disclosed and he becomes the fifth Lancashire player to sign a new contract this week, following Stephen Parry, Kyle Jarvis, Tom Bailey and Gavin Griffiths.


The leader of the pro-union Better Together campaign has compared Alex Salmond to former North Korean dictator Kim Jong-il.

In a New Statesman interview, Alistair Darling said the Scottish first minister's criticism of UKIP television coverage was a "North Korean response".
A spokesman for Mr Salmond said the remarks were pathetic and puerile and called for an apology.
Better Together said the reaction to the article was "overblown".
A Better Together spokesman said that the Kim Jong-il comments were poking fun at the first minister's comments blaming the rise of UKIP in Scotland on the BBC's coverage before the European elections.
In an interview with the New Statesman editor Jason Cowley, the former Labour chancellor of the exchequer was quoted as saying: "He (Alex Salmond) said on the BBC that people voted UKIP in Scotland because English TV was being beamed into Scotland.
"This was a North Korean response. This is something that Kim Jong-il would say. And this is the same BBC for which we all pay our licence fee, and we all enjoy the national output as well as the Scottish output."
Kim Jong-il, who became the communist dictator of North Korea in 1994, presided over one of the world's most reclusive and oppressive societies until his death in 2011.
He was accused of severe human rights abuses, and of threatening the stability of the region by pursuing a nuclear weapons programme and testing long-range missiles.
Responding to Mr Darling's comments, the first minister's spokesman said: "Alistair Darling demeans himself and his colleagues in the No campaign with these pathetic, puerile remarks for which he should now apologise.
"The debate on Scotland's future is one that deserves far, far better than boorish and abusive personal insults, as do the people of Scotland.
"Mr Darling has called for a positive debate free from abuse - he should now aim to live up to that pledge, and stop trying to divert attention from the real issues."
On Mr Darling's language, the Better Together spokesman said: "The nationalists have regularly dismissed people who don't agree with them as quislings, anti-Scottish and a parcel o' rogues.
"We won't take any lessons on the use of language from people who have such a proud record of slurs and personal attacks."
After the UKIP victory in the European elections, Mr Salmond had stressed that UKIP received significantly less backing north of the border, despite gaining an MEP.
He said: "It's difficult it is to stop a party getting foothold. We've been doing an analysis of BBC broadcasting in Scotland over this month, four-times as many broadcasts about UKIP than the SNP."
Mr Salmond told the BBC's election night programme: "Star Trek the Original series used to have a phrase, 'beam me up Scotty', UKIP is a party that gets beamed into Scotland courtesy of the BBC."
In the New Statesman interview, Mr Darling had originally been quoted as using the controversial phrase "blood-and-soil" about Scottish nationalism.
The magazine later admitted the phrase had been used by the interviewer and issued a clarification, blaming a transcription error. A correction appeared online but the magazine has already gone to print.
The expression "blood-and-soil" ('Blut und Boden') is German in origin and became a term associated with the Nazis.


Two 10-year-olds were taken to hospital after a car mounted a pavement and hit them.

Police said the driver of a Vauxhall Zafira "failed to notice a stationary vehicle" on Coychurch Road, Pencoed, swerved and struck three children.
It happened at about 14:00 GMT on Saturday.
One was taken to Princess of Wales Hospital, Bridgend, and another to Cardiff's University Hospital of Wales, while the third, aged 11, was unhurt.
The two injured children suffered cuts and bruises and were kept in hospital overnight for observation only.
South Wales Police is investigating.


Belfast is in the top 20 locations in the UK for reporting problems with mice, according to the British Pest Control Association (BPCA).

Belfast City Council dealt with 1,424 mice issues within an 12-month period, the latest available figures show.
That equates to 5.3 mice reports for every 1,000 residents in the city.
BPCA's research, which compared figures for 407 local authorities across the UK, found Belfast had the 20th highest instance of mice problems, per head.
The association obtained the figures, which cover the financial year from April 2013 to March 2014, through the Freedom of Information Act.
The data also shows Belfast City Council tackled 1,940 problems with rats, 682 with wasps and 115 with bedbugs during the year.
BPCA's chief executive, Simon Forrester, said: "Our study provides a comprehensive and graphic indication of the demand placed on local authorities for pest control.
"There are many localised reasons why a particular area could have a high prevalence of a certain pest, but we're concerned that services are being cut across the country."
Mr Forrester added: "The government's austerity measures have left local authorities under immense pressure to come up with savings."
A spokeswoman for Belfast City Council said it was "one of the last few local authorities in the UK still providing a free pest control service to its domestic ratepayers".
"It is well used by the people of Belfast, as these figures show," she added.


A Japanese pensioner has said she does not remember admitting to a Kyoto court that she had poisoned her fourth husband.

Chisako Kakehi stands accused of killing three partners and attempting to murder a fourth.
Prosecutors say Ms Kakehi targeted the men for their money and poisoned them all with cyanide.
Her lawyers pleaded not guilty on her behalf, only for Ms Kakehi to seemingly admit killing her last partner.
Isao Kakehi, her fourth husband who she reportedly met via a match-making site, died on 28 December 2013, a month after they got married.
On Monday, she appeared to confirm she had killed him, saying she committed crime because her husband was not treating her well financially, and that she had obtained the cyanide from a business associate.
But on Wednesday she told the court: "I don't remember (what I said)", according to the Mainichi daily newspaper.
Lawyers for Ms Kakehi had previously said her testimony could not be trusted, because she has mild dementia and "barely remembers things that happened recently".
Investigations into the wealthy widow began after a post-mortem examination was carried out on her fourth husband, revealing traces of cyanide in his body.
Ms Kakehi is on trial for murdering him and two other boyfriends, all aged between 70 and 80, and the attempted murder and robbery of another boyfriend - who later died of cancer - between 2007 and 2013.
Ms Kakehi's three other husbands also all died, but she has not been charged in connection with their deaths.
Some media have dubbed Ms Kakehi a "black widow" - a term derived from the female spider that eats its partner after mating.
In April another Japanese woman, Kanae Kajima, who was convicted of killing three lovers, lost a final appeal against her death sentence at the Supreme Court.


Labour has accused the government of favouring a "bankers' Brexit" at the expense of the wider economy.

Shadow chancellor John McDonnell said the Tories wanted to "cut special deals" for the financial sector.
Asked about Nissan's announcement of investment in Sunderland, he said the government had a "chaotic" approach on a "factory-by-factory" basis.
And he said Labour would not make "cynical promises" to reduce immigration post Brexit.
Prime Minister Theresa May has promised a Brexit deal "that is right for the UK" and ministers have accused Labour of offering "division and incompetence" on the EU.
The government is refusing to offer a "running commentary" on its negotiating position for exit talks, which are due to begin formally by the end of March.
In a speech at the Institution of Mechanical Engineers in London, Mr McDonnell said: "The Tories want to cut special deals for bankers."
He warned that the negotiations should benefit everyone in the country and "not just Tory special interests", describing government preparations for negotiations as "shambolic".
He added: "Already, Tory cabinet ministers are looking to cook up special deals for their friends in the City of London, while Tory backbenchers want to attack hard-won workplace rights.
"They'll cut a deal for finance, but ignore our small businesses and manufacturers."
Reflecting on the Labour leadership's referendum campaign - which was criticised as lukewarm by some of the party's MPs - he said he believed the EU was "a flawed institution" but that it had been better to fight for reform than to leave.
As for the outcome of the vote, the shadow chancellor added: "We should not pretend the referendum result can be undone."
Labour would take back control from the EU of the "economic levers of power" like state intervention, Mr McDonnell said, and would protect the financial sector but expect it to finance other industries.
Taking questions afterwards, he was asked about whether Nissan's announcement - that it will build both the new Qashqai and the X-Trail SUV at its Sunderland plant - disproved his "bankers' Brexit" attack.
"This is chaos at the moment," he said, accusing the government of doing deals "secretly behind closed doors" on "individual factory deals".
"What other manufacturers are going to say is 'what about us?'"
Mr McDonnell was also challenged to clarify the party's position on immigration, with some senior party figures suggesting numbers should be reduced after Brexit.
He said Labour favoured "balanced migration" and that the vote to leave the EU reflected worries about people's living standards.
Speaking earlier on BBC Radio 4's Today programme, he said the free movement of people would "formally" come to an end when the UK leaves the EU, but added: "We will still need to ensure that there is movement... both in terms of UK into Europe and the other way round."
He said "unscrupulous employers" should not be able to use immigration to undercut wages.
Reacting to his speech, David Gauke, chief secretary to the Treasury, said: "All Labour can offer the British people is division and incompetence.
"They don't believe Britain can thrive outside the EU - and after the economic mess they left behind last time, no-one should ever trust them again with the economy.
"The Conservative Party will deliver the right deal for the whole United Kingdom as we leave the EU and build an economy that works for everyone here at home.â€Ž"