The new Uruguayan government says it will no longer grant asylum to prisoners from the Guantanamo Bay detention centre.

In December, Uruguay gave sanctuary to six Arab men who had been held at the US base in Cuba for 12 years.
Opinion polls said most Uruguayans rejected the decision taken by outgoing President Jose Mujica.
Foreign Minister Rodolfo Nin Novoa also said Uruguay would stop taking refugees from the Syrian conflict.
Decisions on accepting new refugees from Syria will be put on hold "just until the end of the year," Mr Nin Novoa said.
Uruguay has faced "cultural and infrastructure" problems to deal with the Syrian families, he explained.
Local media has reported several alleged incidents of domestic violence involving Syrian refugees.
The six former inmates are Abu Wael Dhiab, Ali Husain Shaaban, Ahmed Adnan Ajuri, and Abdelhadi Faraj from Syria; Palestinian Mohammed Abdullah Taha Mattan, and Adel bin Muhammad El Ouerghi from Tunisia.
Mr Mujica, who led Uruguay from March 2010 until March 2015, said they had been subjected to "an atrocious kidnapping".
They spent 12 years in jail for alleged ties with al-Qaeda but were never charged.
Mr Nin Novoa, who took up his post as foreign minister on 1 March, did not elaborate on the change of policy towards Guantanamo detainees.
But in February, Mr Mujica said that the six Arab refugees had not as yet adapted to life in the South American nation.
"They are clearly struggling with the [Spanish] language," he said after paying a visit to the six men.
"They've had problems adapting here, not only because they come from different cultures but also because they bear the scars of living for so many years in isolation and in inhospitable conditions."
In Latin America, El Salvador is the only other country to have given Guantanamo prisoners sanctuary, taking two in 2012.
One of the former detainees, Abdelhadi Faraj, published an open letter through his lawyer in New York thanking Mr Mujica for his decision to grant them asylum.
"Were it not for Uruguay, I would still be in the black hole in Cuba today," he said.
More than 120 detainees remain in the US-run prison.
Mr Mujica, a former guerrilla leader who spent time in jail during Uruguayan military rule, offered asylum as "a humanitarian gesture".
Under Uruguay's constitution, the president cannot serve two consecutive terms in office, so Mr Mujica did not run in the 2014 election.
He has been succeeded in office by his party's candidate, Tabare Vazquez, who was sworn in on 1 March.


Thierry Henry has left Arsenal after manager Arsene Wenger said he could not combine his job as a television pundit with his role coaching the under-18s.

The 38-year-old Henry, who worked with Arsenal's youth players as part of his Uefa A Licence course, was not prepared to give up his media work.
Former Gunners captain Tony Adams, 49, will take over as under-18s coach.
Steve Bould will remain as Wenger's assistant while Freddie Ljungberg will work with the under-16s.
Henry, Arsenal's all-time leading scorer, must now find a team to coach in order to complete his Pro Licence.
The former France forward is employed as a television pundit by Sky Sports and worked for BBC Sport during Euro 2016.


Sergei Polunin wants to leave behind his reputation as ballet's tattooed "bad boy" and make his name in the movies.

The Ukrainian star, who shocked the dance world in 2012 when he quit the Royal Ballet, has branched out into film acting.
He's made a spy thriller with Jennifer Lawrence, and appears in Sir Kenneth Branagh's forthcoming Murder on the Orient Express.
"I feel like I'm a kid again," the 27-year-old told the BBC of his time working on the Lawrence film. "It's an amazing industry and it was really one of the best times of my life."
Polunin hopes to make it a full-time career.
"I would love to. It's really good. It was the happiest time. I was excited to wake up. I still did a ballet class before, and then went to [work on] the movie."
He said that he learned a lot working with Lawrence on Red Sparrow.
"One moment she's very relaxed, and then in a second goes into the character. In a strong scene, she really goes for it."
The Orient Express film sees Polunin in the role of Count Andrenyi opposite Dame Judi Dench, Michelle Pfeiffer, Johnny Depp and Willem Dafoe.
"It was a very surreal experience," Polunin admitted. "I thought: 'Am I supposed to be here? Am I good enough?' These were legends. I have paintings of these people!"
Polunin's relationship with ballet has been turbulent to say the least.
A child prodigy, he left Ukraine at the age of 13 and came to the UK where he shone at the Royal Ballet School.
At the age of 19 he became the Royal Ballet's youngest ever male principal.
But two years later he sensationally walked out, amid reports of drug use and hard partying, earning himself the "bad boy of ballet" moniker.
He later told the BBC that he was no fan of rehearsals, saying that it was only when performing that he enjoyed dancing.
The story of his life in ballet is told in Dancer, a new cinema documentary by Steve Cantor.
Polunin will perform at the film's premiere at the London Palladium later on Thursday.
At the film's centre is the unforgettable 2015 YouTube video of Polunin's dance to Hozier's Take Me to Church.
Shot in Hawaii by photographer David LaChapelle, Polunin's bare-chested ballet routine almost melted the internet when it went viral. It's since notched up more than 18 million views.
As he explains in the documentary, Polunin had intended it to be his swan song. But the positive global reaction changed his mind.
Later this month, the star unveils his latest dance production - Project Polunin - at Sadler's Wells.
It includes the world premiere of Narcissus & Echo, a piece composed by Ilan Eshkeri with visuals by LaChapelle.
Even with his promising film career, Polunin admits he may never shake off the "bad boy" tag.
"Two years ago we tried to change this image, but I don't think you can," he said, referring to the YouTube video.
"But the image of being not perfect - I like that.
"Our world isn't perfect - it's good to have some kind of imperfection."
Dancer is released on 10 March. Project Polunin is at Sadler's Wells from 14-18 March.
Follow us on Facebook, on Twitter @BBCNewsEnts, or on Instagram at bbcnewsents. If you have a story suggestion email entertainment.news@bbc.co.uk.


Canada is leaving a drought treaty, becoming the only UN member to do so, Canadian media report.

The cabinet issued the order last week, but did not announce the move, ahead of a convention in Germany next month.
The decision seems to have surprised the UN, which apparently only became aware of it when informed during a phone call by the Canadian Press.
Canada ratified the treaty to fight global drought in 1995, along with 154 countries and the European Union.
The cabinet order "authorises the minister of foreign affairs to take the actions necessary to withdraw, on behalf of Canada, from the United Nations Convention to Combat Desertification, in those countries experiencing severe drought and/or desertification, particularly in Africa".
Canada's withdrawal comes ahead of a major convention in Bonn, Germany, "to carry out the first ever comprehensive cost-benefit analysis of desertification, land degradation and drought", the UN Environment Programme said.
At the meeting, member countries will also for the first time be required to submit data on poverty and land cover in areas impacted by desertification.
The UN secretariat in Bonn said Canada had not officially informed them of their plan to leave, the Globe and Mail newspaper reported.
A spokesman for Canada's International Co-operation Minister, Julian Fantino, told the newspaper that membership of the convention had been expensive while yielding little benefit.
But critics say Canada is isolating itself by withdrawing and the decision should have been publicly announced.
Canada's conservative-led government has adopted policies in recent years that have dismayed aid groups.
Canada left the Kyoto Protocol to reduce greenhouse gases in 2012, becoming the first country to do so. Japan, Russia and New Zealand have since opted out, too. The US never joined the treaty.
Last year, the Ottawa government also announced plans to cut 7% out of its foreign aid budget by 2014-15.


Warwickshire's batsmen struggled in tough conditions on a rain-hit day two against Durham at Chester-le-Street.

Chris Rushworth (4-39) picked up three quick wickets, including two in two balls, to leave the visitors on 12-3.
Sam Hain (57) and Tim Ambrose (41) shared a stand of 98 to take Warwickshire to 138-4 but both fell in consecutive overs after tea.
Rushworth removed Rikki Clarke before bad light brought an early close with the Bears on 167-7, trailing by 147.
With the start delayed by an hour, a couple of rain interruptions and play being called off at 17:40 BST, just 43.3 overs were bowled in total.
When play got under way, Rushworth utilised the muggy, overcast conditions straight away by trapping visiting captain Varun Chopra lbw with the second ball of the day.
In his next over, the paceman found himself on a hat-trick when he removed Jonathon Webb and Laurie Evans, both leg before, but Hain survived the next ball by clipping it away to the boundary.
After further rain delays, Ian Westwood became the fourth lbw victim of the innings as he was dismissed by John Hastings, before Hain and Ambrose forged their fine recovery.
However, their good work was undone in the space of four balls when Hain was snaffled at short leg by Keaton Jennings off Hastings and Ambrose was out lbw to Durham skipper Paul Collingwood.
Clarke became the sixth leg-before victim of the innings just before the light closed in to give Rushworth his 51st wicket of the season.
Chris Woakes, making his first appearance of the season for Warwickshire after a knee operation, will resume day three on 12 not out.
Durham bowler Chris Rushworth:
"I feel I know my game inside out now and I've improved year on year.
"I've tried to hit the stumps a bit more this season rather than swing the ball away and it helps with the lbws."
Warwickshire all-rounder Chris Woakes:
"It's been frustrating but the knee feels fine and I was happy with the way I bowled on the first day.
"I scored 90 for the second team last week, so now I need to get some runs here."


Bob Dylan has finally delivered the lecture he needed to give in order to keep the prize money for his Nobel Prize for literature.

The veteran star won the 8m krona ($900,000, Â£727,000) prize in October but did not collect the award until the end of March at a private event.
And it has taken him until now to issue his taped lecture, which cites Buddy Holly as an influence.
Dylan had until 10 June to deliver the lecture or forfeit the prize money.
The singer mentioned three influential books - Herman Melville's Moby Dick, Homer's The Odyssey and Erich Maria Remarque's All Quiet on the Western Front - in his lecture.
It has been posted on the Nobel website.
"The speech is extraordinary and, as one might expect, eloquent. Now that the lecture has been delivered, the Dylan adventure is coming to a close," Sara Danius, the permanent secretary of the Swedish Academy, which awards the prize, wrote in a blog post.
Dylan said: "If I was to go back to the dawning of it all, I guess I'd have to start with Buddy Holly... He was the archetype. Everything I wasn't and wanted to be."
Dylan said he "had to travel a hundred miles to get to see him play" and "wasn't disappointed".
Describing the encounter, he said Holly "was powerful and electrifying and had a commanding presence".
"Out of the blue, the most uncanny thing happened. He looked me right straight dead in the eye, and he transmitted something. Something I didn't know what. And it gave me the chills.
"It was a day or two after that that his plane went downâ€¦ somebody handed me a Leadbelly record with the song Cottonfields on it. And that record changed my life right then and there."
This lead him on to other Leadbelly artists including Sonny Terry and Brownie McGhee, the New Lost City Ramblers and Jean Ritchie.
"By listening to all the early folk artists and singing the songs yourself, you pick up the vernacular. You internalise it."
He then went on to talk about his literary influences.
"Specific books that have stuck with me ever since I read them way back in grammar school - I want to tell you about three of them: Moby Dick, All Quiet on the Western Front and The Odyssey."
He described Moby Dick as "a fascinating book, a book that's filled with scenes of high drama and dramatic dialogue".
"All Quiet on the Western Front is a horror story. This is a book where you lose your childhood, your faith in a meaningful world, and your concern for individuals.
"The Odyssey is a great book whose themes have worked its way into the ballads of a lot of songwriters: Homeward Bound, Green, Green Grass of Home, Home on the Range, and my songs as well," he said.
Dylan also spoke about the meaning in songs.
"If a song moves you, that's all that's important. I don't have to know what a song means. I've written all kinds of things into my songs. And I'm not going to worry about it - what it all means. "
He concluded: "Our songs are alive in the land of the living. But songs are unlike literature. They're meant to be sung, not read. The words in Shakespeare's plays were meant to be acted on the stage. Just as lyrics in songs are meant to be sung, not read on a page.
"And I hope some of you get the chance to listen to these lyrics the way they were intended to be heard: in concert or on record or however people are listening to songs these days. I return once again to Homer, who says, 'Sing in me, oh Muse, and through me tell the story.'"
Follow us on Facebook, on Twitter @BBCNewsEnts, or on Instagram at bbcnewsents. If you have a story suggestion email entertainment.news@bbc.co.uk.


Motorbikes have been banned from the northern Nigerian city of Maiduguri to prevent drive-by attacks by the radical Islamist sect, Boko Haram.

Officials said no-one would be able to ride motorbikes at any time in the city, Boko Haram's stronghold.
The group's trademark has been to use gunmen on motorbikes to assassinate security officers and politicians.
Boko Haram is fighting for Islamic rule and has rejected talks with the government.
At least 40 people have been killed in Maiduguri, the main city in Borno state, in the past two weeks in attacks blamed on the group.
Last month, the group said it had carried out an attack on the headquarters of the Nigerian police in the capital, Abuja, which killed at least six people.
The Borno state government said it was now imposing a 24-hour ban on motorbikes in the city.
"The ban includes private as well as commercial motorcycles of all categories that operate within Maiduguri metropolis," Usman Ciroma, spokesman for the Borno state governor, said in a statement.
Correspondents say motorbikes are one of the most common forms of transport in Maiduguri, as most people cannot afford cars.
The AFP news agency reports that the governor, Kashim Shettima, warned that the ban could be extended.
"If the security situation does not improve following this ban, the government will extend the ban to cover the whole state," he was quoted as saying.
On Wednesday, Boko Haram fighters threw an explosive device at a military patrol in Maiduguri, wounding three officers.


Donald Trump will have much work to do to repair a divided nation after his election as US president, First Minister Carwyn Jones has said.

Welsh politicians have given their reaction to Mr Trump's shock victory over Hillary Clinton.
Welsh Tory leader Andrew RT Davies said the result was a "bloody nose for the political establishment".
Plaid and Labour AMs and MPs expressed concern, but UKIP AM Neil Hamilton said it was "an uprising" like Brexit.
Mr Trump, the Republican candidate, will become the 45th US president after Democrat nominee Mrs Clinton conceded defeat in the early hours of Wednesday morning.
The real estate tycoon, former reality TV star and political newcomer had been universally ridiculed when he declared his bid for the White House in June last year.
He defied pre-election polling to claim swing states, winning the key battlegrounds of Florida, Ohio and Pennsylvania.
Prime Minister Theresa May congratulated Mr Trump, saying she looked forward to working with him.
However, Mr Jones did not offer congratulations in his reaction to the news.
"Following the most brutal and bruising election campaign in modern American history, Donald Trump will have much work to do to repair a divided nation," he said in a statement.
"The language of fear must now give way to conciliation.
"The United States is one of Wales' most important trading partners and by far our largest market for inward investment. We will maintain a strong presence in America, including opening our latest office in Atlanta," the first minister added.
The UK government's Welsh Secretary Alun Cairns said the relationship between the UK and the US "goes much deeper than any one individual, be it a leader in this country or a leader in the United States".
He said: "It's about the people, it's about our cultures. We are so closely aligned and of course we will do everything to make the Trump presidency a success."
Andrew RT Davies tweeted the result was "yet another punch for political polling - seems another remarkable failure on that front".
He said it was: "Another bloody nose for the political establishment."
Plaid Cymru leader Leanne Wood called for "calm heads" and the need for "winding down the rhetoric".
"If Trump wants to do business with the rest of the world, he must row back on the appalling comments we saw throughout the campaign," she said.
Neil Hamilton, UKIP's leader in the assembly, said: "It's an uprising of people against the Washington establishment in the same way as Brexit was an uprising against the European establishment."
He said he was surprised Mr Trump won, but believed it was "good news for Britain".
"Far from [outgoing president] Barack Obama saying we'll be at the back of the queue in a trade deal, Donald Trump has made it perfectly clear he's very pro-Britain which is good news," Mr Hamilton said.
Flintshire-based David Soutter, a former head of candidates for UKIP who worked on the UK Trump campaign, said the Republican candidate's victory was "very easy to predict".
"For 25 years the political establishment has grown apart from those whom it is supposed to represent," he said.
"It is clear in Europe and the UK, and it was very clear in the US."
Sending his congratulations, Monmouth Conservative MP David Davies told his Twitter followers: "Surprise of media and anger of commentators shows their failure to listen to, or understand a silent majority."
Former Conservative Welsh Secretary Stephen Crabb said: "America is a great nation. Still is.
"Strong and tested institutions will cope, and our deep and wide friendship with US more important than ever."
However, many Labour politicians reacted with concern, with Neath AM Jeremy Miles saying on Twitter that it was a "dark morning".


Kaka has been called up to the Brazil squad for next month's Copa America in the United States.

The Orlando City midfielder, 34, will replace Bayern Munich's Douglas Costa, who was removed from the squad because of an injury to his left thigh.
Ex-AC Milan and Real Madrid player Kaka has been a regular in coach Dunga's squads, without getting much game time.
He has won 91 caps and scored 29 goals, but has only played 60 minutes for his country in three years.
Kaka is the second player to be added to the squad because of injury, with Benfica's Jonas replacing Santos striker Ricardo Oliveira.
Brazil have been drawn in Group B with Ecuador, Haiti and Peru for the tournament, which is staging a special 100th anniversary edition.
Subscribe to the BBC Sport newsletter to get our pick of news, features and video sent to your inbox.


Ned Eckersley hit an unbeaten 73 as Leicestershire enjoyed a decent opening day with the bat against Derbyshire at Grace Road.

But a number of Leicestershire batsmen got starts and then got out as they lost wickets at regular intervals.
Debutant Callum Parkinson took 3-64 as four Leicestershire men were out in the 40s, before Eckersley's patient innings helped them rebuild.
He hit seven fours as Leicestershire ended the first day on 300-7.


Children in England and Wales who go missing are being left at risk of serious harm because of "unacceptable inconsistencies" in the way police respond, the police watchdog has said.

Nearly 67,000 children reportedly went missing once or more last year.
Some forces wrongly recorded children as "absent", and saw those who went missing repeatedly as "time-wasters", HM Inspectorate of Constabulary found.
The  National Police Chiefs' Council said improvements would be made.
The Inspectorate report - entitled Missing Children: Who Cares? - said there were many reasons why children go missing - from being lost or separated while out with their parents, to running away, or disappearing from care under coercion - but all such children were potentially at risk of harm.
The HMIC said a categorisation of "absent" denoted that the child was considered to be at no apparent risk - but it said some forces termed children absent "when the risk they faced clearly meant that they needed an immediate response."
The report highlighted instances where runaway teenagers were sworn at or pushed to the floor by police.
One 13-year-old girl told inspectors police threatened her with a Taser.
"They said... 'If you carry on running away, we are gonna Taser you and restrain you' and I was just like 'No, I'm trying to get away from the problem, that's just gonna make the problem worse'," she said.
Another girl, aged 17, said she was called "an attention-seeking little bitch" by police.
She said: "I've been, like, sworn at. I've been told that it's my fault people are out there getting raped because they (the police) can't stop them."
HMIC inspector Wendy Williams called for "operational and cultural changes", saying the negative attitude of some officers undermined children's trust in the police.
The inconsistencies were seen across all aspects of the approach to missing children, she said, including assessing risks, investigating or supporting children.
Prioritising missing children would help police forces address "the cause rather than the symptom" of issues such as child sexual exploitation, child abuse, trafficking and mental ill-health, she said.
She also recommended that a national database of missing children be set up.
Inspectors also said good work was taking place. West Yorkshire and South Wales were among the forces doing good work, as they had dedicated officers, it said.
However, children's charities said too many children were being left at risk.
The NSPCC said it was "deeply disconcerting" that police did not have a unified approach to dealing with missing children, despite several high-profile grooming trials in recent years.
"There are often deeply disturbing reasons why children go missing, and these should be investigated by officers - as opposed to treating the young people as a nuisance," it said.
Peter Grigg, of The Children's Society, said missing children were "still being let down" by the police.
Chief Constable Mike Veale, of the National Police Chiefs' Council, said the report showed that "more needs to be done" to ensure consistency across all forces.
"We will work closely with chief constables, the Home Office and the College of Policing to address the recommendations so that missing children who are identified as high-risk and those who have underlying issues or problems get the support they need from the police.
"Police forces cannot solve these problems alone and we are committed to building a consistent, multi-agency response to missing and vulnerable people."


A six-year-old boy has been seriously injured in a suspected hit-and-run incident in Bournemouth.

The boy was found by his parents with a broken nose and covered in cuts and scrapes at about 17:00 GMT on Monday.
He was treated at Royal Bournemouth Hospital where his condition was described as "not life-threatening".
Dorset Police said the boy had gone out to play on the Keeble Estate in Northbourne but could not remember what had happened to him.
PC Grant Sleight, of the force's traffic unit, said: "It is not clear how this young boy sustained his injuries and he is not able to recall what happened. It is possible that he could have been injured in a collision with a car or other vehicle.
"I am appealing to anyone who was in the area at the time and could help us piece together exactly what happened last night, to please call me on 101.
"All calls will be treated in strict confidence."


A Dundee drug company has signed a $4.8m (£3m) research deal with a major American pharmaceutical firm to develop medicines for psychiatric disorders.

Ex Scientia Ltd received $1m (£620,000) up front as part of the new partnership with with Sunovion Pharmaceuticals.
The two companies will work together to create new drugs for a range of complex disorders.
Ex Scientia was spun out of Dundee University in 2012 to develop new drug discovery techniques and technology.
The firm has developed a data-driven approach to the field, which improves the efficiency and effectiveness of drug discovery.
The collaboration with Sunovion will see this applied to phenotypic drug discovery, a form of biological research which studies how drugs affect organisms at a cellular level.
Dr Thomas Large, senior vice president of discovery and preclinical research at Massachusetts-based Sunovion, said he was "extremely pleased" the deal had been signed.
He said the alliance would "create an innovative approach to tackling complex psychiatric diseases".
Ex Scientia founder and CEO Prof Andrew Hopkins added: "We are delighted to collaborate with Sunovion on this exciting approach to discovering new treatments for complex psychiatric diseases.
"The agreement shows the power of applying a polypharmacology philosophy to challenging disease areas and our commitment to building strategic partnerships with major pharmaceutical companies to deliver novel medicines."
Under the terms of the agreement, Sunovion will receive worldwide rights to any compounds developed, while Ex Scientia will retain exclusive rights to the technology.


A report into December's tidal surge has said the Environment Agency should consider a "thorough review" of flood prediction and warning procedures.

East Riding of Yorkshire Council's Flood Investigation Report said it should look at "possible improvements to the timeliness" of warnings.
On the east coast, 1,400 properties flooded and 18,000 people evacuated.
Joe Noake of the Environment Agency said: "We are continually reviewing how we respond to such incidents."
The tidal surge saw "exceptionally high levels" not experienced for at least 60 years and the agency's defences and warning systems helped "reduce the impact significantly", he added.
The recommendation was one of eight in the report, accepted by the council's cabinet.
In the East Riding, 300 properties (69 commercial and 231 residential) were directly affected by flooding and an estimated 6,000 acres (2,400 hectares) of agricultural land flooded, it said.
The estimated damage was less than 1% of what it could have been without flood defences, the report said.
The water level at the Hull tidal barrier reached a record level during the surge - just 16ins (40cm) below the top.
The report also recommends property owners in the affected areas should develop a personal flood plan.
During the surge, there was significant flooding at various locations including Bridlington, Skipsea, Hornsea, Tunstall, Easington, Kilnsea, Paull, Hessle, North Ferriby, Faxfleet, Blacktoft, Yokefleet, Saltmarshe, Skelton, Old Goole and Reedness.
Hull city centre was also flooded.
Mr Noake said the Environment Agency had undertaken "significant works" to many flood defences including Riverside Quay in Hull, Swinefleet and Reedness, Yorkfleet Clough and Kilnsea.
Most flooding occurred when the water rose higher than the defences at high tide.
Flooding first affected commercial properties in Bridlington Harbour, as the high tide passed south down the coast.


Four people died when their quad bike was hit by a car at 140mph as vehicles raced in scenes likened to the film The Fast And The Furious, a jury has heard.

Ryan Beal, 20, Brandon Brown, 20, Alexandra Binns, 18, and Terrie Kirby, 16, were killed when the quad bike they were riding was hit by a Nissan 350Z.
The Nissan was taking part in a race on the A6201 Hemsworth bypass at the time.
Five people deny encouraging dangerous driving while two have admitted causing death by dangerous driving.
More stories from across Yorkshire
Prosecutor Kama Melly QC said the Nissan was one of a number of vehicles taking part in a high-speed race when the crash happened on 27 September 2015.
She told a jury at Leeds Crown Court two groups of people had travelled from Wakefield and Barnsley to use the stretch of road for racing as spectators watched from the sides of the road and a railway bridge.
Analysis of the Nissan's sat-nav showed it was doing 140mph at the time of the impact with the quad bike and had reached 144mph on previous runs along the single carriageway road, the court was told.
A passenger who witnessed the racing cars said in a statement read to the court by Miss Melly "that the scene was something like out of the film The Fast And The Furious".
The four people killed were out celebrating Miss Kirby's birthday.
The court heard a police investigation found the quad bike had no rear lights and Miss Melly said that other road users were "very concerned" with "the manner in which it was being driven earlier that night".
The prosecutor also said: "We are not saying that these defendants specifically encouraged that particular piece of driving that caused the deaths of the four on the quad bike.
"It is the Crown's case that the defendants' presence encouraged the dangerous driving that occurred over the course of the evening."
"They went knowing what they would see and participate in and went knowing that a group of supporters and enthusiasts being present would encourage the dangerous driving that did occur."
George Tomlinson, 25, of Hall Croft, Netherton, Wakefield; Nathan Jackson, 21, of Higham Common, Barnsley; Stephen Hebden, 23, of Dodworth Road, Barnsley; Lee Fisher, 29, of Pond Street, Barnsley and Bradley Lockwood, 22, of Rotherham Road, Barnsley, all deny one count of encouraging and assisting in the commission of a dangerous driving offence.
The jury was told that the driver of the Nissan, Daniel Raynor, and his front seat passenger, Matthew Todd, have admitted charges of causing death by dangerous driving.
The trial continues.


Growth in South East Asia's largest economy, Indonesia, picked up in the third quarter, improving upon the previous one which saw the lowest growth in six years.

It grew 4.73% from July to September compared with a year ago, after hitting 4.67% growth in the second quarter.
Weak consumer spending, slumping commodity prices, along with high interest rates have impacted growth.
President Joko Widodo has pledged to lift annual growth to 7% on average.
He made that promise when his five-year term began a year ago, but has faced challenges starting large infrastructure projects and boosting government spending.
In September, Mr Widodo reshuffled his cabinet to speed up government spending.
The government said that spending did accelerate in the third quarter.
The annual figure was, however, lower than the 4.79% expected by a poll of Reuters analysts. This compares to an average of 5.8% growth recorded over the past decade.
Growth on a quarterly basis of 3.21% also missed expectations.
Gareth Leather, economist at research firm Capital Economics said Indonesia's growth still remains weak and is unlikely to turn around.
"With tight monetary policy and low commodity prices likely to remain a drag on the economy, we expect growth to remain stuck at around 4.5-5% over the next few years," he said.
But earlier this week, Indonesia's chief economic minister Darmin Nasution said the central bank does have room to cut interest rates if inflation eased in October.
The central bank has not moved on interest rates since February, but calls have to growing to boost the economy that relies on domestic consumption as its biggest contributor.


Airbus has built a giant sand pit in Stevenage to mimic the surface of Mars.

The indoor terrain, about the size of a basketball court, will be used to test systems on the rover that Europe will send to the Red Planet in 2018.
ExoMars, as it is known, will be a six-wheeled robot tasked with finding signs of past or present life.
The UK division of Airbus Defence and Space will assemble the rover from parts built across member states of the European Space Agency (Esa).
But it has the specific role also of developing the vehicle's autonomous navigation system.
The great distance between Earth and Mars means the robot cannot be controlled in real time; commands take tens of minutes to cross the space between the planets.
Instead, ExoMars will be given a destination to reach, and its onboard cameras and computer will then work out the most appropriate route, avoiding large boulders and potential fissures in the ground.
The new "Mars yard" is being used to develop the necessary algorithms.
"We need to verify the performance, to check that the algorithms and the processes that we're using will actually work - will be fit for purpose to deal with the conditions and obstacles we expect to find on Mars," said Dr Ralph Cordey from Airbus.
The sand pit will play a critical role also in testing the rover's drive systems.
Like previous vehicles sent to the Red Planet, ExoMars will be based on a free-moving, rocker-bogie suspension that allows it to climb over small rocks.
This equipment will be provided by robotics experts at MacDonald Dettwiler and Associates in Canada (Canada is a co-operating member state of Esa).
Various prototypes already at Stevenage have been trying out the new "Marscape".
The lessons learned will be built into the eventual "flight" model - the actual vehicle that is sent to Mars.
This itself will never see the Mars yard. It will be assembled in a new "cleanroom" at the Airbus factory to ensure it is kept spotless, and free from any Earthly contamination that could confuse its instruments when they go hunting "biosignatures" on Mars.
Once Airbus has assembled the flight model, it will be sent to Thales Alenia Space in Turin, Italy, where its payload of scientific instruments will be added.
The key UK science contribution is the PanCam imaging system developed by a team under the leadership of Prof Andrew Coates at the Mullard Space Science Laboratory.
The current US rover, Curiosity, has wowed us with its pictures from Gale Crater. ExoMars hopes to do the same.
"Curiosity can see a lot, but PanCam will be able to see a much larger region in its field of view," Prof Coates explained.
"It can also zoom in and view sections in great detail with our high-resolution camera. With that we'll be able to narrow down where to drill to search for signs of life."
Precisely where on the Red Planet ExoMars will go has yet to be decided.
The project is holding its first landing-site selection meeting this week in Madrid, Spain, but it will be 2017 before a final choice is made.
Another outstanding matter is ExoMars' budget. Esa has capped the project at 1.2bn euros.  This sum covers both an atmospheric-research and telecommunications satellite as well as the rover itself.
Esa member states have yet to commit all of the money that will be needed, but the agency's science director, Alvaro Gimenez, said the gap - of roughly 165m euros - should be closed very soon.
"Yes, there is a gap.  It's less than 15%, but we need to close it, and the sooner the better, and we expect to do that before the end of the year," he predicted.
The Mars Yard was officially opened by Business Secretary Vince Cable. He said projects such as ExoMars fitted with the government's campaign to get more young people pursuing technical subjects at university.
"We are massively undersupplied in the UK with STEM graduates, and I think the excitement generated by space as an industry provides a lot of energy behind that campaign," he told reporters.
Jonathan.Amos-INTERNET@bbc.co.uk and follow me on Twitter: @BBCAmos


Businesses and law enforcement agencies are losing the "cyber arms race" with online criminals, the UK's National Crime Agency has warned.

The technical capabilities of criminal gangs are outpacing the UK's ability to deal with their threat, the NCA added.
It said there were 2.46 million "cyber incidents" last year, including 700,000 frauds - with the biggest threat coming from "a few hundred" criminals.
The government is to spend Â£1.9bn over the next five years on cyber-defences.
The NCA's annual assessment of cybercrime found a key threat to the UK comes from international gangs.
Some are so well-developed they run call centres and employ translators.
"Cybercriminals targeting the UK include international serious organised crime groups as well as smaller-scale, mostly domestic, criminals and hacktivists," it said.
"The NCA assesses that the most advanced and serious cyber crime threat to the UK is the direct or indirect result of activity by a few hundred international cyber criminals, typically operating in organised groups, who target UK businesses to commit highly profitable malware-facilitated fraud.
"These cyber-attacks include attacks directly targeting business systems and attacks against individuals."
The NCA said the "accelerating pace of technology and criminal cyber-capability development" currently outpaces the UK's collective response to cybercrime.
"This 'cyber arms race' is likely to be an enduring challenge, and an effective response requires collaborative action from government, law enforcement, industry regulators and, critically, business leaders," the report added.
The NCA says the true scale of criminality is likely to be far bigger because of what it calls "a serious problem" of under-reporting.
It urged businesses to report when they are victims of cybercrime and to share more intelligence, "both with law enforcement and with each other".
In response to the threat, the UK government plans a new National Cyber Security Centre, as well as working with internet service companies to block online attacks.


US President Barack Obama said New Orleans is "moving forward" 10 years after the devastation of Hurricane Katrina.

Residents of the Lower Ninth Ward exemplify people "building a better future" out of tragedy and setting a positive example, Mr Obama said.
The mostly African-American neighbourhood is still recovering from the disastrous 2005 storm.
Hurricane Katrina killed nearly 2,000 people and displaced one million.
Mr Obama delivered remarks on Thursday at the Andrew P Sanchez Community Center in the Lower Ninth Ward.
"Not long ago, our gathering here might have seemed unlikely," said Mr Obama.
"But today, this community centre stands as a symbol of the extraordinary resilience of this city and its people, of the entire Gulf Coast, indeed, of the United States of America.
"You are an example of what's possible when, in the face of tragedy and hardship, good people come together and lend a hand, and to building a better future."
Mr Obama said the storm made New Orleans, a city that "embodies a celebration of life, suddenly seem devoid of life."
African Americans and people in hard-hit parishes may not feel like they have recovered as much as the rest of the city, he said, but is confident the city is "moving in the right direction."
He touted some of New Orleans' achievements since the storm, like higher school graduation rates and eradicating veteran homelessness, and called the city the "gateway to America's soul."
A short drive from where President Obama delivered his speech, stands a three storey brick building. Its windows are boarded up, and spray paint graffiti covers the walls. Before Katrina hit America's Gulf coast this was an elementary school.
Today, it's just one of many buildings and homes in the city, which remain untouched. Ten years on from the storm and much of this city has rebuilt - resilience is a word often used here to describe the community spirit which has helped New Orleans bounce back.
But many people I've spoken to, say the rebirth of the city has left them behind. One man said it's a daily struggle to see blighted houses, which devalue occupied ones. America's comeback city, still has a way to go.
He also visited the Louisiana city on the hurricane's fifth anniversary in 2010.
When the storm hit, Mr Obama was serving in the US Senate. The storm broke the levees that were supposed to keep New Orleans from flooding.
Mr Obama said the storm helped reveal inequality in New Orleans. Many people, mostly minority groups, did not have jobs, adequate housing, health care or quality schooling, and grew up in violent neighbourhoods.
He said it is important "not to harp on what happened, but to memorialize it."
"We do this not in order to dwell on the past, but in order to keep moving forward," he said in prepared remarks. "Because this is a city that slowly, unmistakably, together, is moving forward."
Mr Obama stressed the importance of cities investing in storm preparation for disasters brought on by global warming.
"New Orleans has become a model for the nation in disaster response and resilience," he said.
Despite massive destruction, the city has risen anew out of the storm.
New Orleans' rebirth has been bolstered by billions of federal dollars, largely spurred by Mr Obama.
The city has recovered much of its population lost during the storm as new businesses emerge and tourists visit the city, famous for its jazz music, unique food and party culture.
Despite those strides, income inequality and crime still plague the city, which Mayor Mitch Landrieu calls "America's Comeback City."


Lib Dem Orkney and Shetland MP Alistair Carmichael has lost a bid to have his legal fees paid after a challenge to his election failed.

Four constituents raised the action under the Representation of the People Act 1983, claiming he misled voters over a leaked memo before the election.
Judges ruled in December it had not been proven beyond reasonable doubt he had committed an "illegal practice".
Mr Carmichael has now lost a claim that his legal expenses should be paid.
His expenses have been estimated at about Â£150,000.
A hearing took place at the Court of Session in Edinburgh to determine who should be responsible for costs.
Roddy Dunlop QC, acting for Mr Carmichael, argued it was "frankly inconceivable" that if the four petitioners had succeeded that they would not have sought expenses against the MP.
He added: "Mr Carmichael is not a rich man.
"To force him to endure this process which has been hugely distressing for him and his family, and deprive him of any redress when he successfully defends himself, it would not be in the interests of justice. It would not be fair.
"Mr Carmichael has already suffered very publicly the consequences of this court's rebuke."
Jonathan Mitchell QC, for the petitioners, told the court there had been a public interest in bringing the case and pointed out they had successfully argued several points.
After hearing legal arguments from both sides, Lady Paton said: "In all the circumstances, exercising our discretion, we consider this to be in effect a case with divided success.
"Accordingly, we find no expenses due to or by any party."
At the time of the original ruling last year, Mr Carmichael said he was "absolutely delighted" with the decision to refuse the petition, adding that he recognised there had been a lapse in his conduct.
He described it as a "highly politically-motivated" case.
The contents of the memo, published in the Daily Telegraph at the start of the election campaign in April, claimed that SNP leader and Scotland's first minister, Nicola Sturgeon, would secretly prefer Tory leader David Cameron as prime minister rather than his Labour opponent Ed Miliband.
The newspaper said the first minister's comments, reportedly made to the French ambassador, undermined claims that she wanted to build a "progressive alliance" with other left-wing parties.
Mr Carmichael claimed in a Channel 4 TV interview at the time that the first he had heard of it was when he received a phone call from a reporter.
He had in fact authorised his special advisor to leak the memo, an action he admitted days after being elected.
In the ruling, Lady Paton said Mr Carmichael had told a "blatant lie" in the Channel 4 interview - but that section 106 of the Representation of the People Act did not apply to lies in general.
The judges said they had been left with a "reasonable doubt" about whether the lie could be characterised as a false statement of fact "in relation to [his] personal character or conduct".
They held that his election was not void.


A man has admitted causing the death of a 60-year-old woman who was fatally struck by a car.

Hamza Bashir, of Glenfield Drive, Middlesbrough, admitted causing Linda Warren's death by driving without due care and attention on October 23, 2014.
The 20-year-old was due to stand trial but changed his plea to guilty when he appeared at Teesside Crown Court.
The court heard the grandmother of seven died in hospital after being hit by a Hyundai driven by Bashir.
The crash happened in Saltersgill Avenue, Middlesbrough.
Bashir, a student, was bailed and will be sentenced on February 22.


A woman who suffered a stroke and brain haemorrhage after being hit by a police van on a 999 call says her recovery took years and it still affects her.

Tindy Chaggar, from Leicester, was training to be a lawyer in London, in 2003, when the accident happened, leaving her with multiple injuries.
Tindy, an ambassador for the charity Headway, said the massive brain injury knocked her confidence.
She has been raising awareness for the charity about brain injuries.
Tindy, who is now an actress and presenter, was 27 years old and fulfilling her dream of being a lawyer when she was hit by the police van.
"All I remember is waking up in hospital thinking it was my birthday because everyone I loved was around me," she said.
"It took a while for it to sink in. I had numerous injuries, with the brain I had a stroke, I had a haemorrhage.
"I had third nerve palsy in my eye... lots of things happened to the brain, it was badly shaken."
She was in hospital for about four months and thought she could get straight back to work, but it took about six years to recover.
"I found that there were little things I found very difficult, organisation, planning to go somewhere, packing my things, I needed help with literally everything," she said.
"I had intended to return to law. I thought at some future point I might like to go to drama school so that was in the future. That was a turning point in my life, I realised, 'I've got to make my life now'".
Since then she has started working towards making her pre-accident dreams of stardom a reality.
She began working on Radio Fox, which broadcasts to hospitals in Leicester, ten years ago and now presents the afternoon show as Tindy C.
Her work was rewarded with a bronze prize in the Best Female Presenter category at last year's National Hospital Radio Awards.
She has also starred in a number of short films and appeared as an extra in BBC One sitcom Citizen Khan.
Along the way she's been supported by Headway, which has organised a Hats for Headway Day, to raise money for brain injury survivors.
She said: "When I was in hospital I was told I'd be going to Headway and my initial reaction was 'do they think I'm crazy? I don't want to go to Headway.'
"But when I went in, that could not have been further from the truth. There were so many different people from so many walks of life, all brought together because they've had some sort type traumatic head injury.
"It was amazing for me - it really helped set me up for the rest of everything and thanks to their help I'm able to manage my time and so forth a lot better.
"I still have some limitations, as I like to call them, but I work around them and Headway do help and guide you."
"They introduced me to a number of things, various craft-making things that help with hand/eye co-ordination and were so supportive generally."
Dr Declan McNicholl, a trustee of Headway in Leicestershire, called Tindy's recovery "amazing".
He said: "She's quite a resourceful individual who's come through a very significant journey."


New Hartlepool manager Dave Jones says the vision of chairman Gary Coxall persuaded him to agree to take charge of the League Two side.

The 60-year-old replaced Craig Hignett at Victoria Park on Wednesday.
The former Cardiff, Wolves, Southampton and Stockport boss was last in management at Sheffield Wednesday, but left Hillsborough in December 2013.
"The chairman sold me it, Gary sold me a dream. He showed an ambition and why not?" Jones told BBC Tees.
He will take over officially on Monday, and his first game in charge will be a trip to Wales to face Newport County on 28 January.
"I've had people phoning me and saying it is fantastic and I've had other people saying are you mad?" he said.
"I just felt it was right for me after talking to Gary. He's very ambitious, young, he's a bit naive on certain things but that's why he's employed me as a football manager.
"He's employed me to build this football club. That's hopefully how he sees it."
Pools have also announced that Alex Armstrong will be another assistant manager along with Kevin Cooper.


There have been more than 3,500 crashes involving emergency service vehicles in the past five years.

Police cars, ambulances and fire engines were involved in at least 3,636 crashes between April 2011 and March 2016.
North Wales Police recorded the most incidents of those who responded, but the majority involved minor damage.
The Welsh Ambulance Service said a crash on a 999 call could be "catastrophic".
North Wales Police 1,506
Welsh Ambulance Service 735
Dyfed-Powys Police 567
South Wales fire 313
North Wales fire 280
Mid and West Wales fire 235
Figures obtained under the Freedom of Information Act showed North Wales Police officers were involved in 331 collisions in 2015-16 - down from 361 the previous year.
The force was criticised last April when officers used a police car to deliberately run over and kill a dog which was loose on the A55 in Conwy.
It reportedly cost the force Â£1,561.48 to repair the car involved but it said the majority of its reported collisions in the past five years were for minor damage.
Stephen Roberts, North Wales Police's head of facilities and fleet department, said: "The majority of North Wales Police vehicles are in constant use, responding swiftly and effectively to challenging and emergency situations. Our fleet of 557 vehicles cover vast distances in all weather and road conditions.
"For the period in question all incidents were reported. This includes minor scrapes or damage to vehicles which accounted for 74% of incidents during 2015.
"Prior to 2015, we did not distinguish between collisions and minor damage."
The Welsh Ambulance Service recorded the second highest number of incidents - 150 of which happened while on an emergency call.
Incidents since April included a driver who died following a crash between two ambulances on the A499 in Gwynedd.
Andrew Challenger, head of driver trainer at Welsh Ambulance Service, said emergency drivers were trained to anticipate risks and respond to hazards on the road.
He said people often panicked when they saw emergency vehicles, but urged them to stay calm and advised them to find a safe place to pull in to allow them to pass.
Dyfed-Powys Police, which provided information from 2012 to 2015 only, said 75 of its crashes happened while officers were attending emergency calls.
A total of 26 people were injured in collisions involving the force's vehicles, including 19 officers.
Gwent Police and South Wales Police would not provide figures.
Among the collisions involving fire service vehicles was a crash between and car and a fire engine in Swansea in 2013.
Of the crashes recorded by South Wales Fire and Rescue Service, 156 happened on emergency call-outs.
Mid and West Wales Fire and Rescue said its incidents were a mix of attending or returning from incidents, routine activities or damage found during vehicle checks.


Younus Khan became the first Pakistan player to score 10,000 Test runs, reaching the landmark shortly after tea on the third day of the first Test against West Indies in Jamaica.

The 39-year-old is the 13th batsman to break the 10,000-run barrier.
Younus, playing his 116th Test, will retire from internationals after the three-match series in the Caribbean, having made his debut in 2000.
He has 32 Test centuries with a highest score of 313 against Sri Lanka in 2009.
He secured his place in the record books with a sweep for four off spinner Roston Chase from the second ball after the interval at Sabina Park, having started the day requiring just 23 runs to reach his target.


A Labour MP has expressed "huge concerns" about the counter-terrorism strategy in UK schools, after reports one of three east London teenagers who fled to Syria has been killed.

Kadiza Sultana, who joined so-called Islamic State (IS) last year aged 16, is feared dead after an air strike in Raqqa, her family solicitor has said.
Labour's Rushanara Ali said the Prevent strategy needed a "proper assessment".
Security minister Ben Wallace said it had been reviewed "to ensure it works".
Ms Ali, MP for Bethnal Green and Bow told BBC Radio 4's Today Programme the government needed to establish "what's working and what's not".
But Mr Wallace said "ever since Labour introduced Prevent in 2007, the government has continued to review the policy to ensure it works to protect people from being radicalised".
"For Prevent to work we all need to get behind it not stand on the sidelines undermining it," he added.
Who are Britain’s jihadists?
The Britons signing up for Jihad
Kadiza and school friends Shamima Begum and Amira Abase, both 15 at the time, flew from Gatwick to Turkey on 17 February 2015 after telling their parents they were going out for the day.
The Bethnal Green Academy pupils later entered Syria and were thought to be living in Raqqa, an IS stronghold.
The three girls had been studying for their GCSEs at Bethnal Green Academy, in Tower Hamlets, east London - where they have been described as "straight-A students".
Tasnime Akunjee, a solicitor representing the families of the three schoolgirls, told BBC Newsnight they heard a report of Kadiza's death following a Russian air strike a few weeks ago.
He said they had not been able to independently confirm it because of the nature of information from Syria.
By Frank Gardner, BBC security correspondent
Kadiza Sultana and her two travelling companions were part of a surge of young British Muslims heading out to Syria to join so-called IS in a movement that peaked more than a year ago.
Today the surge has turned to barely a trickle.
The latest UK Government counter-terrorism strategy report puts the number of Britons who reached Syria at about 850  - although unofficial estimates are higher.
Of those, about 125 are believed to have been killed, either by air strikes or by fighting on the ground, and about 400 are thought to have returned to Britain.
Anyone known to have travelled to IS-controlled territory is automatically questioned by the police and assessed on a case-by-case basis.
If there is any evidence of terrorist-related activity they face prosecution, but others are steered towards deradicalisation programmes and given counselling, with a view to reintegrating them into society here.
It is the job of the Home Office and the police to make the correct assessments.
Under laws brought in last summer, schools have a legal obligation, known as the "Prevent Duty", to spot and report individuals who might be vulnerable to extremism and radicalisation.
Schools have to assess the risk of pupils being drawn into extremist ideologies and schools must ensure pupils do not access extremist material online.
Teachers have previously warned the strategy is "shutting down" open debate in schools, encouraging a climate of "over-reaction", and creating "suspicion and confusion" in schools.
The government has said Prevent is playing "a key role" in identifying children at risk of radicalisation.
However, Ms Ali told Today the case of the three schoolgirls highlighted the fact it was not working.
"Many have concerns about how Prevent is being implemented, concerns about young Muslims being stigmatised," she said.
"There needs to be a balance struck to protect young people, to prevent them from being radicalised, but also making sure teachers and other agencies have the proper advice training and support."
She added: "What the government needs to do is do a proper assessment of what's working and what's not and they need to listen to the Muslim community...
"But that requires partnership between communities."
Security minister Ben Wallace defended the strategy.
"Up and down the country we are successfully seeing communities, local authorities and ordinary citizens doing their bit to protect the vulnerable from those that would seek to groom them for extremist activities," he said.
"Prevent is for the benefit of us all no matter what faith or community you belong to. As it is with domestic violence or other forms of abuse it is everyone's duty to be proactive to stop those that would subvert our young people."
Sara Khan, co-founder of the counter-extremism organisation Inspire, told Today that she saw Kadiza as a victim, "because she's not an adult".
Young girls who are exposed to radicalisation "lack critical thinking skills", which "is what makes them vulnerable to Islamist extremist propaganda in particular", she said.
She added that girls being exposed to extremist material were "not receiving counter-messages".
The Bethnal Green schoolgirls were among more than 800 Britons who are believed to have left the UK to join IS or other militant groups in Syria and Iraq,
In February 2015 the principal of Bethnal Green Academy, Mark Keary, said there was no evidence that the girls were radicalised at school, adding that pupils could not access Twitter or Facebook on its computers.
It later emerged that, before leaving the UK, Shamima Begum had sent a Twitter message to Aqsa Mahmood, who left Glasgow for Syria in 2013 to marry an Islamic State fighter.
A spokeswoman for the Foreign Office said: "The UK has advised for some time against all travel to Syria. As all UK consular services there are suspended, it is extremely difficult to confirm the status and whereabouts of British nationals in Syria.
"Anyone who does travel to these areas, for whatever reason, is putting themselves in considerable danger."


A lorry has smashed into a store in central Stockholm, killing at least four people.

At least a dozen people were also injured in the incident on Drottninggatan (Queen Street), one of the city's major pedestrian streets, on Friday afternoon.
Swedish Prime Minister Stefan Lofven said it was a terror attack.
One man has been arrested, after police released a CCTV image of a person who may be connected to the case.
Eyewitnesses describe lorry 'trying to hit people'
In a speech on Friday night, Mr Lofven said Swedish values of democracy and freedom would not be "undermined by hatred".
He also announced the country's border controls had been strengthened.
The crash happened at the Ahlens department store just before 15:00 local time (13:00 GMT). Witnesses say the lorry drove into the front window.
One eyewitness, Annevi Petersson, told the BBC she was in the shop's fitting room when she heard the screams. "There was blood everywhere," she said.
Swedish brewery Spendrups said its lorry had been stolen on its way to a restaurant delivery earlier in the day.
"Someone jumped into the driver's cabin and drove off with the vehicle while the driver was unloading," a brewery spokesperson told the TT news agency.
The shop sits close to the city's central station, which was evacuated.
The metro, central roads and various bus lines were also shut down after the attack.
Shots were reportedly fired in another part of the city, but Swedish police told local media there was no connection between the two incidents.
City authorities said they had made several spaces, including a number of school buildings, available as temporary accommodation for those who could not get home because of transport disruptions.
They have also asked people not to share photographs of the victims online.
I was in Stockholm yesterday, ironically at a security conference. I don't think Sweden was prepared for something like this.
The last big terror incident they had was in 2010 when a failed suicide bomber blew himself up in a car in central Stockholm.
The country has good intelligence-gathering apparatus: Sapo, the Swedish equivalent to the UK's MI5 agency, have got the finger on the problem, but the legislation is not there to deal with it.
Insiders have been concerned for quite some time that Sweden has been a bit lax about security. It is important at this stage, though, to keep an open mind about the perpetrator. It's not impossible that it was someone with personal, psychological problems, rather than a political motive.


Mansfield Town remained in the hunt for a play-off place in League Two after Danny Rose scored the only goal of the game in a vital victory at fellow chasers Stevenage.

The Stags are now just one point off the top seven, while Stevenage are clinging on to their place with two games left after an insipid display that saw them rarely threaten.
Boro gave a first start to 18-year-old Mark McKee and he almost had a dream start when he half-volleyed into the side netting after nine minutes.
Mansfield ended the first half strongly and came extremely close four minutes before the break when Rose's header from Joel Byrom's corner was cleared off the line by Jobi McAnuff.
The Stags' pressure paid off, however, as Stevenage failed to get the ball clear before it eventually fell for Rose, who rifled his shot into the roof of the net.
Alex MacDonald threatened a second for the visitors when he brilliantly burst past two defenders, but he made a real hash of his finish when through on goal.
Match report supplied by the Press Association.
Match ends, Stevenage 0, Mansfield Town 1.
Second Half ends, Stevenage 0, Mansfield Town 1.
Michael Tonge (Stevenage) wins a free kick in the defensive half.
Foul by Jamie McGuire (Mansfield Town).
Jack King (Stevenage) wins a free kick on the right wing.
Foul by Shaquile Coulthirst (Mansfield Town).
Charlie Lee (Stevenage) wins a free kick in the defensive half.
Foul by Jamie McGuire (Mansfield Town).
Jobi McAnuff (Stevenage) is shown the yellow card for a bad foul.
Matt Green (Mansfield Town) wins a free kick in the defensive half.
Foul by Jobi McAnuff (Stevenage).
Substitution, Mansfield Town. Jamie McGuire replaces Alexander MacDonald.
Foul by Ben Kennedy (Stevenage).
Malvind Benning (Mansfield Town) wins a free kick on the right wing.
Delay over. They are ready to continue.
Delay in match Luke Wilkinson (Stevenage) because of an injury.
Attempt saved. Charlie Lee (Stevenage) header from the left side of the box is saved in the top left corner.
Corner,  Stevenage. Conceded by Malvind Benning.
Connor Ogilvie (Stevenage) wins a free kick on the right wing.
Foul by Matt Green (Mansfield Town).
Dale Gorman (Stevenage) wins a free kick on the left wing.
Foul by Shaquile Coulthirst (Mansfield Town).
Ben Kennedy (Stevenage) wins a free kick on the left wing.
Foul by Alexander MacDonald (Mansfield Town).
Charlie Lee (Stevenage) wins a free kick on the left wing.
Foul by Matt Green (Mansfield Town).
Substitution, Stevenage. Michael Tonge replaces Ronnie Henry.
Corner,  Mansfield Town. Conceded by Jobi McAnuff.
Substitution, Mansfield Town. Lee Collins replaces George Taft because of an injury.
Attempt missed. Ben Kennedy (Stevenage) right footed shot from outside the box is just a bit too high.
Substitution, Mansfield Town. Matt Green replaces Danny Rose.
Delay over. They are ready to continue.
Delay in match Luke Wilkinson (Stevenage) because of an injury.
Attempt blocked. Danny Rose (Mansfield Town) right footed shot from the right side of the box is blocked.
Attempt blocked. Jobi McAnuff (Stevenage) right footed shot from the centre of the box is blocked.
Foul by Charlie Lee (Stevenage).
Danny Rose (Mansfield Town) wins a free kick in the defensive half.
Substitution, Stevenage. Jamie Gray replaces Kaylen Hinds.
Attempt saved. Luke Wilkinson (Stevenage) header from the centre of the box is saved in the top centre of the goal.
Jack King (Stevenage) wins a free kick in the attacking half.


Thousands of people made redundant by the closure of Woolworths will not receive compensation, following a European Court of Justice ruling.

The decision applies to 3,200 people who worked in stores with fewer than 20 employees and also affects 1,200 ex-workers at clothing chain Ethel Austin.
Shopworkers' union Usdaw has been fighting for compensation since Woolworths collapsed in 2008.
Clothing chain Ethel Austin went out of business five years ago.
Under UK law, workers in smaller stores are not covered by any obligation to consult over redundancies and do not qualify for compensation.
Usdaw general secretary John Hannett said: "This decision marks the end of the road for our members from Woolworths and Ethel Austin seeking justice and they are heartbroken by today's verdict.
"Our case is morally and logically robust, so today's verdict is a kick in the teeth."
Barbara Wilson, who worked in the firm's store in St Ives, Cornwall, said: "It is totally bizarre that just because I worked in a store which employed 19 people, I should be treated differently.
"We did exactly the same job and everything was run at a national level - it just doesn't make any sense."


The UK's remaining coal-fired power stations will be shut by 2025 with their use restricted by 2023, Energy Secretary Amber Rudd has proposed.

Ms Rudd wants more gas-fired stations to be built since relying on "polluting" coal is "perverse".
Only if gas-fuelled power can fill the void created by closing coal-powered stations would coal plants be shut, she said.
Environmentalists are concerned little is being done to promote renewables.
Announcing the consultation, Ms Rudd said: "Frankly, it cannot be satisfactory for an advanced economy like the UK to be relying on polluting, carbon-intensive 50-year-old coal-fired power stations.
"Let me be clear: this is not the future.
"We need to build a new energy infrastructure, fit for the 21st century."
Former US vice president Al Gore, an active campaigner for clean energy, described the announcement as an "excellent and inspiring precedent".
If coal power plants are able to install carbon capture and storage (CCS) before 2025, they would not be closed. CCS has long been mooted as the answer to cleaning up coal plants, but very little progress has been made in developing the technology, with just one commercial scale plant currently operating in the world.
Currently, coal provides about a quarter of the UK's electricity, but Ms Rudd said: "We are tackling a legacy of underinvestment and ageing power stations which we need to replace with alternatives that are reliable, good value for money and help to reduce emissions."
Ms Rudd also said investment in nuclear power was vital to the government's policy.
"Gas is central to our energy-secure future," she said. "So is nuclear."
She believes that plans for new nuclear power stations, including those at Wylfa in Wales, Moorside in Cumbria and Hinkley Point in Somerset, could eventually provide almost a third of the low carbon electricity the UK needs.
The speech comes amid concerns in some quarters that the UK could suffer from blackouts as a result of short supplies, brought about in large part from the closure of a number of power stations that have come to the end of their working lives.
Tony Lodge, who has published a report on the UK's energy needs for the free-market think tank Centre for Policy Studies, said Britain was on the verge of an "energy crisis" with electricity demand set to outstrip available supply in the near future.
However, National Grid and many experts have dismissed these concerns. The Grid says it has plenty of gas and enough electricity to get through the winter without any disruptions.
Successive governments have highlighted our energy dilemma - the need to keep the lights on, while cutting greenhouse gases and ensuring energy is affordable for consumers.
Today the Energy Secretary Amber Rudd will focus on energy security and keeping prices as low as possible.
But for the world's first industrialised nation to end coal-powered generation sends a strong signal ahead of the UN Climate summit in Paris.
All the major parties had signed up to phasing out coal. The previous government's projections saw it falling to 1% by 2025.
The big question is how to ensure gas plants are built to replace it. Only one large plant is under construction today.  Another, which secured a subsidy last year, is struggling to find investors.
The government was criticised earlier this year for cutting renewable energy subsidies.
Ms Rudd said that such subsidies must be carefully focused on technologies that offer the best value for money, fitting into a "consumer-led, competition-focused energy system".
It has slashed solar subsidies and will cut those for onshore wind next year.
Professor Paul Ekins, an expert on resources and environmental policy at University College London, said the government had "abandoned" the cheapest forms of low carbon power - onshore wind and solar energy.
He said: "We need some gas fired stations, but in tandem with investment in renewables and nuclear. It is the investment in renewables that is being cut back to an enormous extent."
He said the government kept changing course on its energy policy and this was discouraging investment.
Ms Rudd's speech comes ahead of the UN summit on climate change in Paris in December, aimed at securing a new global climate change agreement.
Environmental group Friends of the Earth welcomed the phasing out of coal, but criticised the new emphasis on gas.
"Switching from coal to gas is like an alcoholic switching from two bottles of whisky a day to two bottles of port," senior energy campaigner Simon Bullock said.
The GMB union's national secretary for energy Brian Strutton welcomed Ms Rudd's statement but added: "Government needs to get on with addressing the urgent need for nuclear power stations and gas-fired stations to supply reliable power.
"The investment will only happen when the framework is right, which it is not now."
Environmentalists say nuclear and gas power are not the cheapest form of energy in the long run. Not only are renewable energies cleaner, they say, but because there are no fuel costs - the sun and the wind are free - then ultimately these technologies offer better value for money.
The UK cannot rely on renewables alone yet, however, as they are variable, so improvements in energy storage technologies are needed.


The mother of Cristiano Ronaldo, the world's highest-paid footballer, was stopped last month at Madrid airport with €55,000 (£40,400; $61,000) in her handbag, El Mundo newspaper reports.

It said that Dolores Aveiro, 61, was stopped by the civil guard while waiting for a flight home to Portugal.
She could not explain to officials why she needed so much cash, El Mundo said.
It said that the money will be held by officials until she pays a fine and fills in the correct documentation.
Spanish rules drawn up to prevent money laundering stipulate that the maximum amount travellers are permitted to take out of Spain without declaring the transfer is €10,000.
Anyone who breaks this rule is not guilty of a crime, El Mundo said, but an administrative offence.
Mrs Aveiro is reported to spend long periods of time with her multimillionaire son in his luxury mansion near Madrid.
She was reported to have been briefly held by border police at Barajas airport in the middle of last month and must now pay a €600 fine in order to get the cash back.
Ronaldo's contract at Real Madrid earns him around €350,000 each week.


Derbyshire have revealed a surplus of £15,588 for the financial year ending December 2015, their fifth straight year of profit at the County Ground.

Membership and ticket sales were up by 20% on 2014, while commercial income passed the £500,000 mark for the first time, a 30% increase.
"A fifth successive year of surplus is another step in the right direction," said chief executive Simon Storey.
"We need to build on this to increase investment in the playing budget."
Following relegation in 2013, Derbyshire finished fourth in Division Two of the County Championship in 2014, only to drop to eighth in 2015, 35 points clear of bottom club Leicestershire.
They finished bottom of the North Group in the T20 Blast, winning just four of their 14 matches and came seventh in their One-Day Cup group, narrowly missing out on a quarter-final place.


Warrington head coach Tony Smith is hopeful they can show Super League's quality when they face Brisbane Broncos in the World Club Series.

Since the introduction of the new format, NRL teams have won all six fixtures between the two competitions.
Leeds were the last team to beat a side from the southern hemisphere in 2012.
"Now that I've been here so long, I think there isn't a whole lot of credit, in some quarters, given to the Super League," said 50-year-old Smith.
He told BBC Radio Merseyside: "I think the opportunity for us to represent Super League and put a good foot forward is a real incentive.
"I also get the rivalry between the English and the Australians in terms of sport and that comes into play.
"We've only got two Aussies in our squad and I'm sure they'd love to win and get one over their native country."
Brisbane, coached by England boss Wayne Bennett, have been involved in the competition in 2015 and 2016 when they beat Wigan on both occasions.
Melbourne Storm pulled out of the chance to feature in 2017 to focus on their pre-season preparations, meaning there is just one other fixture - Wigan against Cronulla Sharks on Sunday.
"It is at a crossroads with where this competition could go," added former Great Britain coach Smith.
"We've certainly had a strong desire to be part of it and we want to show we can do it as well.
"A club doesn't get to play against touring teams anymore, this is it. This is something for some generations to remember for years and years to come."


Bristol City have signed forward Jamie Paterson from Nottingham Forest for an undisclosed fee.

The 24-year-old has agreed a three-year contract with the Ashton Gate club after passing a medical
He made 69 appearances for Forest, scoring 14 goals, but spent much of last season on loan at Huddersfield.
"He's a talented player that I've always admired. I tracked him since his Walsall days," Robins boss Lee Johnson told the club website.
Paterson can play on the wing or in central positions, and his arrival could compensate for the expected departure of striker Jonathan Kodjia, who is reported to be on the verge of joining Derby County.
Kodjia was left out of the squad for Saturday's match against Aston Villa.
Find all the latest football transfers on our dedicated page.


Rickie Lambert has left Cardiff City after his contract was terminated by mutual consent.

The striker scored four goals in 13 league starts after he joined from Premier League side West Brom on transfer deadline day last summer.
The last of the 35-year-old's four Cardiff goals came in a 3-1 defeat at Aston Villa on 26 November.
Cardiff manager Neil Warnock recently said that Lambert would struggle for game time next season.
Warnock will prefer Kenneth Zohore and new signing Danny Ward up front next season.
Lambert has scored three goals for England in 11 appearances.


Exeter's teenage scrum-half Jack Maunder says he is adapting well to the pace of top-flight rugby.

The 19-year-old is set to make just his third start in their final Champions Cup pool game at Clermont Auvergne.
"You get a sense of it in training, but there's nothing like matchday intensity," he told BBC Sport.
"Especially in Europe you see that increase in intensity that as a nine the breakdowns are a lot quicker, there are a lot more bodies in there.
He continued: "You learn during the games and you've got to pick up things during the game."
Maunder's chance comes as Exeter rest their only experienced scrum-half Dave Lewis, with Will Chudley and Niko Matawalu out injured.
"There are going to be these opportunities for the younger boys and it is vital that you taken them and you impresses the coaches with attributes that they like to see," Maunder added.
"Hopefully that can lead to more opportunities in the future."


Police are appealing for information after a 16-year-old girl was sexually assaulted by two men in Perth.

The teenager was walking with a friend in Dunkeld Road, near the Stagecoach building, at about 16:40 on Wednesday when the attack happened.
Both men were aged between 20 and 25 and of slim build.
The first man was 5ft 11 in tall, with short, brown hair and was wearing a dark red tracksuit top and blue jeans. The second man was about 5ft 9in tall.
He had short, dark brown hair and wore dark-coloured clothes.


A church warden died after he was "unlawfully" restrained by police officers for more than 20 minutes while in custody, a court has heard.

Thomas Orchard, 32, who had schizophrenia, died in October 2012 after being arrested in Exeter and collapsing at a police station.
He suffered a cardiac arrest in his cell after being restrained, with a belt put across his face, it was said.
Three officers deny manslaughter charges.
Custody Sgt Jan Kingshott, 43, and detention officers Simon Tansley, 37, and Michael Marsden, 54, each face two joint charges.
Bristol Crown Court heard Mr Orchard had been arrested on suspicion of a public order offence by Devon and Cornwall Police and was in custody at at Exeter's main police station.
After suffering a cardiac rest, he was held down then freed from the restraints - making little or no movement - and left lying face down on a mattress.
The court was told it was a further 12 minutes before officers re-entered Mr Orchard's locked cell and discovered he was not breathing.
He died in hospital seven days later.
Prosecutor Mark Heywood QC told the court: "He was physically restrained - both in the street, the custody unit and the van in between - for a total period of 22 minutes.
"For a significant part of the restraint time at the custody unit, he also had a webbing belt -and, to give it its full name, an emergency response belt, known as an ERB - applied over the whole or part of his face, including at times his nose and mouth."
The first charge alleges the trio carried out an act or series of acts which unlawfully killed Mr Orchard and the second alleges they unlawfully killed Mr Orchard by gross negligence.
The trial continues.


The head of troubled Bitcoin exchange MtGox has made his first statement since the service went offline.

Mark Karpeles said he was "working very hard with the support of different parties" to address issues with the service, which went offline on Tuesday.
An estimated 744,000 bitcoins - about $350m (Â£210m) - are believed to have been stolen thanks to a loophole in Tokyo-based MtGox's security.
Japanese authorities are investigating the company.
"I understand that ministries and agencies concerned - financial services, police and the finance ministry - are looking into the matter to learn the full scope of the issue," said Yoshihide Suga, Japan's chief cabinet secretary.
"Once we have full knowledge of what happened, we will take action if necessary."
Separate investigations into MtGox and businesses linked to it are also said to be taking place in the US, Reuters reported.
Mr Karpeles' statement on Wednesday also addressed concerns he had gone into hiding.
"I would like to use this opportunity to reassure everyone that I am still in Japan," the notice read.
MtGox was a service that allowed people to convert virtual currency Bitcoin in US dollars, and vice versa.
On 7 February MtGox halted transfers of the digital currency to external addresses.
The firm said that thieves had been using a flaw in the system to fool the transaction process into sending double the correct number of Bitcoins.
A leaked report - which Mr Karpeles has confirmed is authentic - said the huge theft had made MtGox insolvent.
Supporters of Bitcoin as an alternative currency have said they are working together to "re-establish" trust among users and were "committed to the future of Bitcoin".
They said they "will be coordinating efforts over the coming days to publicly reassure customers and the general public that all funds continue to be held in a safe and secure manner".


Legislation "to empower" Scotland's island communities is to be progressed, Islands Minister Humza Yousaf has said.

He said the Scottish government's proposed Islands Bill would be shaped by a public consultation.
The legislation is to be brought forward during the next 12 months - within the first year of the new parliamentary session.
Shetland, Orkney and Western Isles councils have been calling for greater control over local matters.
The local authorities launched the campaign, Our Islands - Our Future, in the lead up to 2014's Scottish independence referendum.
The campaign sought commitments from the Scottish and UK governments to devolve more powers to the island councils.
Mr Yousaf said island communities made a "significant contribution" to Scotland's culture and economy.
He said: "We have placed the aspirations and needs of our island communities at the centre of our empowerment agenda.
"Drawing on the work of both the Island Areas Ministerial Working Group and the consultation findings, the bill will provide lasting benefits for all our island communities for generations to come.
"I believe that this demonstrates our strong and continued support for our island communities and our desire to deliver quickly on the election promises set out in our manifesto."
Angus Campbell, leader of Comhairle nan Eilean Siar, said those involved in the Our Islands - Our Future campaign were pleased that the legislation was to be progressed.
He said: "Together with our colleagues in Orkney and Shetland we have worked closely with the Scottish government with the aim of bringing forward an Islands Bill for the benefit of island communities in Scotland.
"I am delighted that we are now in a position where the bill is imminent.
"This will form the basis for island-proofing in future legislation and policies and the creation of a National Islands Plan."


Police have identified a Prestwick man who died when his motorbike was involved in a crash with a car on the A77 near Stranraer on Thursday.

James Harvey, 64, was killed when his BMW motorcycle was in collision with a Subaru car being driven by a 70-year-old man from Stratford-upon-Avon.
The accident happened at about 11:30 between Stranraer and Portpatrick.
Mr Harvey died at the scene. The car driver and his female passenger suffered minor seatbelt injuries.
The road was closed for nearly eight hours for investigations to be carried out.
Police said the procurator fiscal had been informed.


An attempt to ditch controversial legislation aimed at tackling sectarianism is being launched.

Labour's James Kelly will begin work on a Member's Bill to repeal the Offensive Behaviour at Football and Threatening Communications Act.
The Glasgow MSP said it was time to axe the "hated" law now that the SNP no longer had a majority at Holyrood.
First Minister Nicola Sturgeon said it was a "strange priority" for opposition parties but she would discuss concerns.
She said: "I think it's a strange priority for opposition parties to almost have as their first objective to get rid of legislation which is about tackling sectarianism.
"That's not something which I think should be the priority of the opposition parties.
"But of course we are happy to discuss how legitimate concerns can be addressed, and that constructive approach is one that I will seek to take on any issue."
Labour, the Conservatives, the Liberal Democrats and the Greens all pledged to repeal the Act in their manifestos for the recent election.
With the SNP returned to government as a minority administration, there is now a majority in the chamber which would back repeal.
Glasgow MSP Mr Kelly will meet with officials at the Scottish Parliament later to begin the process of drafting his Members Bill.
He said: "Today I'll take the first steps to repeal the SNP's hated Football Act. The law has become a symbol of the SNP's arrogance in government and it is time for it to go.
"The Football Act was bulldozed through parliament by the SNP with not a single other party voting for it and everyone from football fans to academics and lawyers opposing it.
"The SNP still won't admit they got it wrong on the Football Act, but they have lost their majority in parliament and I will work constructively with the other parties to abolish the Football Act."
The Act was introduced in 2012 in an attempt to crack down on sectarianism and other football-related offences.
Critics have argued there was already sufficient legislation in place to deal with disorder at football matches. They have also claimed the new law has unfairly targeted law-abiding football supporters.
The Fans Against Criminalisation campaign group also claimed the legislation had eroded trust between supporters and police and had failed to tackle bigotry.
A report published earlier this year revealed there were only 79 convictions in 2014/15 under the legislation, with opposition parties stating the figures demonstrated the law was unnecessary.
A spokeswoman for the Scottish government said the Act had "delivered real improvements".
"Since its introduction, religious crimes, race crimes and crimes in relation to individuals' sexuality are down and we've seen a decrease in crimes of offensive behaviour at or in relation to regulated football matches in Scotland," she said.
"Statistics show a steady decline in offences at stadiums and a YouGov poll shows 80% of Scots support the Act - a view shared by the overwhelming majority of those in the sample who follow Scottish football.
"Any move to repeal the Act would send entirely the wrong signal and would undermine progress in driving all forms of prejudice from the game."


Wales has fallen behind the rest of the UK significantly in reading, maths and science for the third time, an international study has shown.

The tests in science, maths, and reading were taken by 500,000 15-year-olds in 68 countries.
In Wales, there were lower results on average in the three subjects than in England, Northern Ireland and Scotland.
Scotland leads the way in the UK in maths and reading, while England is ahead in science.
The figures, published by the Organisation for Economic Co-operation and Development (OECD), show that for maths, 15-year-olds in Wales scored 468 points on average, compared with 498 in Scotland, 495 in England and 487 in Northern Ireland.
By Arwyn JonesBBC Wales education correspondent
Click here for analysis
In reading, Wales scored 480, but Scotland scored 506 points on average, England scored 500 and Northern Ireland 498.
In science, Wales scored 491, compared with England's average score of 516, Scotland's 513, and 507 in Northern Ireland.
The OECD report concluded, for each of the three subjects, "performance in Wales was lower than the rest of the United Kingdom".
It is the third time Pisa has conducted such tests.
Since 2007, Wales has slipped down the Pisa rankings. As more countries have joined, it has slumped from 22nd in science to joint 36th, dropped 10 places in maths and fallen from 29th in reading to 41st.
Speaking about this year's results, Education Minister Huw Lewis said the results were disappointing and showed Wales had a long way to go.
But he insisted the news reinforced the Welsh government's case for the ambitious reforms it has already developed.
The build-up to the release of this set of Pisa rankings has felt a bit like waiting for examination results, when you know you've answered the questions incorrectly.
You spend months softening up relatives, warning them a star pupil is not about to emerge anytime soon.
And so the Welsh government has been telling anyone who will listen not to expect good news from Pisa.
We've started the groundwork, it says, but it is too early for that to come out in the tests.
Not a great message, as Wales slips further behind both the rest of the world and elsewhere in the UK in the these tests.
Welsh ministers will have their work cut out convincing people their aim of putting Wales amongst the top 20 Pisa nations in the next round of tests in 2015 is realistic.
They'll have to strike a balance between making reassuring noises, that things are set to improve, and not sounding complacent.
Opposition parties can legitimately point out that Labour, in one form or another, has been in charge of education in Wales for sixteen years.
With ministers dealing with difficult changes in the NHS, they must now be ready for another battle, on the state of our children's education, right up to the 2016 assembly election.
"Everybody working in and around the Welsh education sector needs to take a long hard look in the mirror this week," he said.
"The Pisa results are stark and the message is very clear, we must improve educational attainment and standards right across the board."
Mr Lewis said new reading and numeracy tests, secondary school banding, extra funding for new schools would take time to have a "significant impact" in Wales.
"There are no quick fixes," he said.
"I expect to see the impact of our reforms reflected in the next set of results. They're ambitious and I believe they will have a lasting, sustainable and positive effect on education in Wales."
Welsh Secretary David Jones urged Welsh ministers to "address these serious educational deficiencies and give the young aspirational people of Wales the skills they need to succeed".
Angela Burns, Conservative shadow education minister in the assembly, said: "These truly appalling figures show Wales' educational performance has at best stagnated, and at worst declined, and that in educational terms, Labour ministers have wasted the past three years."
Welsh Liberal Democrats leader Kirsty Williams tweeted: "Really sad and angry that 14 years of Welsh Labour Education Policy has led us to these #PISA results."
Plaid Cymru's education spokesman Simon Thomas said the results were not good enough.
"Wales cannot progress unless we get the basics right and that means meeting the challenge of improved numeracy, literacy and skills for all," he said.
All the UK nations were beaten in all three subject areas by the Republic of Ireland, and by Finland, a country which many education experts in Wales have sought to learn from.
Meanwhile the business group CBI Wales said the results gave cause for concern.
Emma Watkins, CBI Wales director, said: "It's not acceptable for Wales to have slipped so far behind, and this should be a wake-up call to those who care about the future of the Welsh education system."
But Chris Keates, general secretary of teaching union the NASUWT, said Pisa was not the be all and end all.
"Pisa is not and must not be seen as the final word on education in Wales," he said.
"It is critical the Welsh government puts the Pisa 2012 study into proportion, uses it to guide and not drive education policy and takes forward its work in a way that reflects the genuine progress and achievements of the education system."


Dave King remains hopeful his group's proposal to invest £16m in Rangers will be accepted, but they want to help decide how the cash is spent.

King has been in talks with the club over the proposed investment.
"We wish to appoint an equal number of members to the board and have the key say regarding the appointment of the chairperson," King said in a statement.
"We will not invest funds and let the existing board determine how these funds are spent."
King is returning to South Africa following a series of meetings with the Ibrox club's hierarchy.
The former Rangers director revealed he, Paul Murray and George Letham are keen to invest the cash "as soon as is practically possible" but admitted there are "numerous regulatory and compliance requirements that have to be dealt with," as well as SFA compliance issues.
"An obvious further complication in Rangers' case is the seeming lack of authority of the Rangers board to make decisions without reference to key shareholders who appear to be 'the power behind the throne'," King's statement continued.
"Prior to commencing the implementation issues referred to above it is necessary to reach an in-principle agreement with the board that can then be put to shareholders.
"In this regard it is important to recognise that the so-called Easdale Block represents more than 25% of the shares in issue and could therefore block the implementation of our proposal even if recommended by the board.
"Likewise, a combination of other shareholders could veto our proposal. I attempted to meet with Mr [Mike] Ashley on my visit but neither he, nor his colleague, Mr Bishop, acknowledged my request for a meeting.
"This is their right but is unfortunate given the present concerns from supporters that Mr Ashley is using his shareholder status to put pressure on the board to alienate the rights and trade mark of the club in favour of his personal interest. I will make a separate announcement and appeal to fans on this topic at the appropriate time.
"Our initial proposal to the board was to invest the full £16m by way of equity at 20p per share. The board requested that we consider a debt/equity mix that would reduce dilution for existing shareholders and allow the debt component to be advanced prior to the extended time-frame required for the approval of additional equity.
"We are amenable to this and to working with the board on the mechanics necessary to ensure that this is achieved provided that the full investment is recognised by way of board representation.
"The board has apparently engaged constructively on our proposal while advancing its own points as to what it believes is in the best interest of the club and its shareholders.
"Sandy Easdale has similarly apparently engaged constructively including highlighting some concerns. I have today responded to these concerns in writing. He will now consult with his co-shareholders and hopefully revert soonest so that we can proceed to agreement and the earliest possible implementation thereof.
"We have a lot of work to do over the next few months to regain the club. I would not be here without the support of the fans and neither would my co-investors. We are going to need to draw on your support again over the coming months."


A student who was allegedly raped in an Edinburgh park has told a court how she fought for her life after a man ran up and grabbed her from behind.

The 20-year-old said she was returning home from a night out in November 2014 when she was attacked in the Meadows.
She said she passed out after being choked and woke to find a man lying on top of her. He then raped her.
Steven Davidson, 23, of Newtongrange, Midlothian, denies rape. The trial at the High Court in Edinburgh continues.
The woman told prosecution lawyer Jane Farquharson that she had been walking through the Meadows shortly before 07:00 on 15 November.
She had spent the previous evening with friends at parties and at a nightclub in Edinburgh.
She told Ms Farquharson she had taken drugs during the previous evening but that they had "worn off" at the time she was allegedly attacked.
The woman said she heard footsteps and thought it was a friend who was coming up behind her.
She said: "I thought it was just a friend who was approaching me. He was running straight behind me. He was grabbing me by the neck with his arm.
"I couldn't get any breath. At that point, I realised it was an attack."
The woman told the court she then passed out.  When she regained consciousness, she said she was lying on the ground with her attacker on top of her.
She told the court: "When he started pulling my leggings down - that's when I realised what he was going to do.
"I think I shouted 'stop'. I didn't shout 'help'. It was a weird moment. I think I shouted 'please don't do this here'.
"He grabbed my neck again so I couldn't speak or breathe and that's when I started to fight against him.
"It was a struggle for life. I had this moment that I couldn't breathe. There was this moment that I started shaking myself to get some air."
The woman also told the court the alleged attack had continued consequences on her life.
"I still get scared when I hear somebody running behind me," she said.
The woman was giving evidence on the second day of proceedings against Steven Davidson, who also denies a second charge of being involved in supplying drugs at various locations in Edinburgh in November 2014.