The man accused by Microsoft of being behind a huge botnet attack has insisted he is "absolutely not guilty".

Microsoft said Russian citizen Andrey Sabelnikov "wrote and/or participated in creating" the Kelihos software which infected thousands of machines.
However, Mr Sabelnikov contacted the BBC to say he was "surprised and shocked" at the accusation, adding: "I will prove my innocence."
Microsoft said it stood by the accusation it made earlier this month.
"As this is a case pending in court, we cannot comment further except to say that we look forward to seeing Mr Sabelnikov in court so we can continue this discussion," said Richard Boscovich, senior attorney for Microsoft's Digital Crime Unit.
Microsoft named Mr Sabelnikov, who is a former employee of antivirus company Agnitum, in court papers filed in the US.
The software giantclaimed their own investigations uncovered proofthat Mr Sabelnikov "used the malware to control, operate, maintain and grow the Kelihos botnet".
In a blog post, Mr Sabelnikov said the allegations were unfounded.
"I was very surprised and shocked to read in the press that I was being accused of a grievous crime in connection with the Kelihos botnet," he wrote.
"I am absolutely not guilty, have never been involved in handling botnets or any other similar programmes and what is more have never made any profit from such activity. I want to highlight that I have no connection either to the activity of Kelihos or to the distribution of spam.
"Unfortunately, the avalanche of publications in the press, referencing inaccurate and distorted information, has inadvertently inflicted a great deal of psychological damage on the companies for whom I have worked or am working, and also adversely affected their business reputation."
Botnets like Kelihos are created by the spread of malicious software, often via infected emails or web browser vulnerabilities.
Each "bot", as they are known, is a hijacked computer which can be used by hackers for any number of illegal activities.
The Kelihos botnet was used for sending out spam and spreading malware until it was "neutralised" in September 2011.
At its peak, it was said to have been in control of 41,000 infected machines and able to send over 3.8 billion spam emails in a day.


Andy Bishop scored twice as Wrexham avenged last season's FA Cup defeat by Alfreton to advance to the second round.

Bishop gave his side the lead with a header from Neil Ashton's cross before adding a second after good play by Brett Ormerod.
Ex-Wrexham striker Jake Speight scored from the spot after Stephen Wright's foul on John Akinde.
Jay Harris settled nerves with a volley after Ross Atkins saved Ormerod's shot.
Kick-off at the Racecourse was delayed for 20 minutes after the Alfreton team bus was held up in traffic.
Wrexham player-manager Andy Morrell told BBC Radio Wales:
"I thought we were good today - it's been the best we've been for quite a while and it starts from the start.
"We start the game right, keep the ball right, nullify their threats and when we keep the ball and pass and move we're a half decent team.
"I thought we thoroughly deserved it today."


Chelsea doctor Eva Carneiro has decided to leave the club - six weeks after criticism from manager Jose Mourinho.

Carneiro had her role downgraded after Mourinho said his medical staff were "naive" for treating Eden Hazard during the 2-2 draw with Swansea on 8 August.
Chelsea asked Carneiro, 42, to return to work, but she has decided not to and is now considering her legal position.
The Football Association is looking into a complaint that Mourinho used abusive or sexist language towards her.
Chelsea say they do not comment on internal staffing matters.
Heather Rabbatts, chair of the FA's Inclusion Advisory Board, expressed her "sadness and anger" at the news of Carneiro's departure.
Carneiro and head physio Jon Fearn went onto the pitch to treat midfielder Hazard in the closing stages of the draw with Swansea.
It meant the Blues were temporarily reduced to nine men, with goalkeeper Thibaut Courtois having been sent off, and Mourinho said the duo had been "impulsive and naive".
Carneiro lost her place on the bench and was no longer allowed to attend matches or training sessions.
Two days after the incident, she posted a message on Facebook thanking the public for their "overwhelming support".
Mourinho stood by his decision to remove her from her role, adding he had a "good relationship" with his medical staff.
Rabbatts, the FA's only female board member, has been vocal in her support of Carneiro, whom she said acted "properly".
"Her departure raises a serious question on how players are safeguarded if their medical support is compromised," said Rabbatts.
"The footage of the abuse she has endured in silence from the stands during her career is something we should all be ashamed of.
"I hope that Eva's own situation can be resolved quickly and positively and that she will be able to continue to work in a senior position within the game."
The Women in Football group said Carneiro was highly respected and it was "bitterly disappointed" about her departure.
"We believe it is appalling that her professionalism and understanding of football were subsequently called into question by manager Jose Mourinho and it threatened to undermine her professional reputation," said a spokesperson.
"We also believe that Dr Carneiro's treatment and ultimate departure from Chelsea FC sends out a worrying and alienating message to the already small numbers of female medical staff working in the national game."


A teenager has died a week after being stabbed in a lane next to a Glasgow school.

Luke Wallace, 16, of Barrachnie Road, Glasgow, suffered serious injuries in the attack close to Bannerman High School in Baillieston on 17 June.
Police said a post-mortem examination would take place and a report would be sent to the procurator fiscal.
A 17-year-old man has been arrested and charged over the incident.


Northern Ireland's north coast has been battered by severe gales and large waves and the public has been warned to stay away from beaches in the area.

Earlier, the Met Office issued an amber weather warning, particularly for counties Antrim and Londonderry, advising of "dangerous conditions".
So far, the highest wind speed of 64mph has been recorded at Magilligan Point.
Police said Benone beach, Magilligan, has been closed as it is "dangerous to the public" due to the adverse weather.
Officers warned of "high winds, water surges and debris" in the area and said motorists "should heed the closed signs and not venture onto the beach as it is unsafe".
The National Trust, which runs the nearby beach at Portstewart, warned members of the public they were risking their lives by going into the sea in a storm.
On its Portstewart Strand Twitter account, the trust said: "We can not stress this enough. Please stay away from the beach. Just witnessed a second person get washed away and only just escape to safety."
The coastguard said they had a report of a man going into the water at Portstewart fully clothed and wearing a rucksack.
However, he came out of the water uninjured.
In the Republic of Ireland, wind speeds of 76 mph have been recorded at Malin Head.
Northern Ireland Electricity (NIE) has warned of possible damage to the electricity network and its emergency repair crews have been on standby.
Travel is also being affected with a number of sailings delayed or cancelled.
The Met Office said: "Westerly winds will gust 70 to 80 mph at times and will be combined with exceptionally high waves.
"The public should be prepared for dangerous conditions, especially along causeways and coastal roads exposed to the west."
A yellow weather warning is in place for the rest of Northern Ireland.
Meanwhile, Met Ã‰ireann has issued a status orange wind warning - its second highest category of alert - for all coastal counties including and between Donegal and Clare.
On  Tuesday, NIE initiated an escalation plan with emergency crews, engineers and call handlers on standby.
The electricity service said exposed northern locations were especially vulnerable.
In Northern Ireland, NIE customers are advised if they do lose electricity supplies they should contact the NIE customer helpline on 03457 643 643 or report the fault online at nie.co.uk.
Customers can also follow NIE on Twitter @NIElectricity for regular updates.


Shifting sands have revealed a significant complex of Bronze Age buildings in Orkney.

Archaeologists made the discovery at Tresness in Sanday while on a walk in poor weather on Monday.
The remains of 14 houses and stone tools, including knives, have been described as "one of the biggest complexes of Bronze Age settlement in the Scottish isles".
The finds on the beach could be more than 4,000 years old.
Archaeologists believe the houses were buried by sand dunes in the second millennium BC - but have recently been exposed by the actions of weather and the sea.
Prof Jane Downes and Christopher Gee, of the University of the Highlands and Islands, Prof Colin Richards, of the University of Manchester and Dr Vicki Cummings, of University of Central Lancashire, made the discovery.
They were on a sea shore walk to visit a known archaeological site when they spotted the remains of the houses and stone tools.
Prof Downes, who specialises in the Bronze Age, said: "This must be one of the biggest complexes of Bronze Age settlement in the Scottish isles, rivalling the spreads of hut circles in other parts of mainland Scotland."
The scale of the Sanday has been described as "unparalleled in Orkney". The islands are well-known for the Skara Brae Neolithic settlement.
Cath Parker, leader of the Sanday Archaeology Group, said: "This is incredibly exciting.
"The archaeological landscape concealed beneath Sanday's  shifting sands never ceases to amaze us.
"I'm sure the local community will relish the opportunity to be involved with any work which stems from this thrilling discovery."
Important Bronze Age discoveries have been made in recent years in other parts of Scotland.
Skeletal remains found at Drumnadrochit on the shores of Loch Ness were identified in February as dating back to the Early Bronze Age.
A wrist guard, for use with a bow and arrow, and shards of pottery were among remains found in a burial cist that was uncovered during work to build a new health centre.
Evidence of Bronze and Iron Age settlements were found at the site of the new Inverness Campus. The remains of timber-built roundhouses and crop marks were recorded at East Beechwood.


The added pressure of looking after historical buildings is leading to mistakes being made by councils, it has been claimed.

Architectural historian Mark Baker said since heritage body Cadw came under ministerial control 10 years ago, more planning cases are passed to councils.
And he added planning laws and guidance are open to interpretation which can result in wrong decisions being made.
The Welsh government said new guidance will be rolled out.
Mr Baker was responding to a decision by Carmarthenshire council to force a businessman to remove solar panels from a barn behind his Grade II-listed farmhouse in Brechfa.
Bobby Bazalgette spent Â£70,000 restoring the listed house and added solar panels to an unlisted barn.
The council said the panels were "detrimental to the setting of a listed building" and has ordered him to remove them or face prosecution.
He has lost an appeal over the decision and said he is "devastated".
Before Mr Bazalgette bought the house the council said it was not listed when, in fact, it was.
After moving in, Carmarthenshire told him it was and he had to restore the house after previous owners had made alterations.
But the council admitted it made a mistake and had to pay Mr Bazalgette about Â£65,000 in damages and costs.
In a statement, the authority said it "does not target owners of listed buildings" but added it will investigate breaches of planning controls, with prosecution a "last resort".
Julian Orbach, who listed buildings for Cadw in the 1980s and 1990s, said: "There is a problem with pursuing people who are doing their best to keep up listed buildings, while other things are just falling apart.
"My feeling is that the solar panels are neither here nor there in the context of an important, historic building in Carmarthenshire. They really are unimportant."
Mr Baker said the case raises wider concerns.
"I think that the planning laws and guidance are quite open to interpretation and you can see that with the different approaches of the local authorities," he said.
"Cadw, since it's been taken into the Welsh government [in 2005] really has lost its edge.
"Everything is passed to local authorities who just can't cope with the added pressure of looking after historic buildings and mistakes happen. I think the case in Carmarthenshire is an example of this."
Deputy Culture Minister Ken Skates said: "New guidance, which will accompany our Historic Environment (Wales) Bill, aims to build on this further by introducing measures that will ensure there is a more careful and consistent management of change to listed buildings across Wales."


More than 70 years after the D-Day landings, a group of World War two veterans from Northern Ireland have been honoured for the part they played in the liberation of France.

16 February 2016 Last updated at 19:18 GMT
Twenty-three veterans were awarded the Legion D'Honneur (Legion of Honour) medal during a ceremony at Thiepval Barracks in Lisburn, County Antrim.
There is some flash photograph in this report from BBC Newsline's Mervyn Jess.


The Liberal Democrat and SNP leaders have said civil liberties should not be sacrificed in the response to the London terror attack.

Lib Dem Tim Farron said there was no evidence to support a widening of surveillance powers.
And the SNP's Nicola Sturgeon warned against reforms that could "undermine our own freedoms".
The two leaders both warned against a "knee-jerk" reaction during the Question Time special in Edinburgh.
They faced questions separately on a range of subjects including Scottish independence and Brexit.
Following the London terror attack, Prime Minister Theresa May said "things need to change" in the fight against terrorism, calling for more to be done about online extremism and for a review into whether security services needed extra powers.
Both the SNP and the Lib Dems opposed last year's Investigatory Powers Act, branded a "snoopers' charter" by critics, which gives intelligence agencies the power to collect large volumes of data from electronic devices.
Ms Sturgeon said she would "listen very carefully" to any request for more powers but said these were already "wide-ranging".
"What we've got to guard against is the security services having so much data that they can't then make sense of it," she said.
"We must make sure that in our determination... to keep the population safe we don't start to undermine our own freedoms and civil liberties, because these are what makes us who we are."
Mr Farron, whose manifesto promises to "roll back" surveillance powers, said the "desire for something to be done is utterly right".
But he said the problem was a lack of resources, not a "lack of surveillance". Agencies could already "follow and track criminals" he said, but did not have "sufficient pairs of eyes".
"The widening of powers is not something that the evidence is there to support," he added.
The two leaders were also quizzed about their demands for referendums - on the Brexit deal for the Lib Dems, and Scottish independence for the SNP.
Both argued they were trying to do what was "right" rather than making a political calculation when the public demand for the polls was questioned.
A woman in the audience asked Mr Farron: "We're having the general election to decide who's giving us the best (Brexit) deal - why do we need another referendum?"
"We had a general election two years ago, we appear to be having another one," he answered, arguing the deal would be "stitched up behind closed doors" and that voters should get the final say.
The Lib Dem leader, who has faced repeated questions during the campaign on his views on homosexuality, was asked whether there was a "conflict" between his faith and his politics.
"Not in the slightest," he said.
"If you're a liberal you fight for everybody's right to be who they are. I honestly don't understand the conflict that people think is there."
Ms Sturgeon faced some hostile questions from the audience about her call for another independence referendum before the UK leaves the EU.
When she lost the last vote on independence, she had not expected to be talking about another referendum, she said - but the alternative was "we have to put up with Brexit regardless of what it is".
She was also pressed on the SNP's record in government in Scotland - with one man in the audience saying she was good at speaking about independence but "hopeless" at actually governing.
She defended her record on the NHS and education and said it was "legitimate" for such questions to be raised.
But she added: "On Thursday we're not choosing a Scottish government, we're choosing MPs who will go to Westminster to vote on public spending."
Voters should hold judge her record at the next Scottish Parliament election, she added.
The two leaders were also asked about working with other parties after 8 June - Mr Farron ruled out entering a coalition, while Ms Sturgeon said she would "certainly" seek to join an alliance to keep the Tories out of power if the Parliamentary numbers made it possible.


An ex-butcher was "determined and cold blooded" when killing and dismembering a woman, a court has heard.

Christopher Nigel May, 50, denies murder at Cardiff Crown Court.
Tracey Woodford, 47, was discovered at his flat in Pontypridd, Rhondda Cynon Taff, in April.
In his closing speech, prosecution barrister Roger Thomas QC said Mr May had repeatedly lied throughout the case, adding: "It's impossible to believe barely a word he says."
Mr Thomas told the jury Mr May was able to "carry on oblivious" and was "totally unmoved by the smell and the scene in his flat for a period of three-and-a-half days".
He said he did not believe Ms Woodford had agreed to sexual contact with Mr May, adding: "We submit that fragile woman did tell him where to go and it cost her her life."
Accusing Mr May of lying, he said: "The suggestion he was acting at any time in self-defence is nonsense.
"He claims self defence but he can't remember what he did. He could have restrained her and pushed her away, but not kill her."
The jury was told Mr May's second defence of loss of control was "a manufactured defence".
Mr Thomas also said that during the murder "sorrow and remorse are noticeably absent [but] sexual desire and anger are noticeably present".
"One thing that is certain is that she didn't go to his flat for sex."
Reminding the jury of the medical evidence of how Ms Woodford had been strangled, Mr Thomas said he showed "cold blooded resolve".
Mr May failed to call an ambulance and see if she could be revived, he added, but instead "he sits down, has a fag and decides to chop her up".
In defence barrister Malcom Bishop QC's closing speech he reminded the jury that Mr May accepts he killed Tracey Woodford.
He said he acted in "self defence" but added if the jury rejected that they should consider that he "lost control".
"It can be explained by blind panic. It was a crazy plan to conceal a body by dismembering - remembering his early days as a butcher. It is crazy," he told the jury.
The trial continues.


BBC One drama is to receive a £30m boost from the closure of BBC Three as a TV channel, director general Tony Hall has announced.

He confirmed BBC Three would be moved to the iPlayer in autumn 2015, with its budget slashed from £85m to £25m.
Lord Hall said moving the channel online was "the right thing to do" and also "financially necessary".
The proposal will create space for a BBC One +1 service and a one-hour evening extension of CBBC to 2000 GMT.
"I want younger and less affluent audiences to be better served by the BBC. Younger audiences are increasingly moving online and on demand. The challenge is to take the brilliance of BBC Three into that world," he said.
The director general said "tough decisions" needed to be made to face up to the fiscal challenges of the BBC, but said the plan was "strategically right and financially right too".
He stressed that cuts were necessary because the licence fee had not increased, while the BBC was "absorbing extra costs" for running the World Service and S4C.
Lord Hall said he was "not prepared to compromise on the quality of what I think is at the heart of the BBC, and that is drama", adding he had noticed BBC One's drama budget was in need of a boost.
Meanwhile, director of television Danny Cohen said he could not guarantee the future of BBC Four.
He told Radio 5 live: "The honest answer to that is 'no, we can't say for certain what will happen to BBC Four in the future'.
"If future funding for the BBC comes under more threat, we will have to take more services along a similar route."
13m
viewers
per week
29%
of all 16 to
34-year-olds
£85m on programmes
6.6p per hour for each viewer
The proposals for BBC Three have been endorsed by the corporation's executive board but the BBC Trust, which represents the interests of licence fee payers, will carry out a full consultation before giving its stamp of approval.
A Trust spokesman said: "In this case, we expect to conduct a public value test, including a public consultation, so licence fee payers will have the opportunity to have their say in the process."
By David SillitoMedia correspondent
In essence there's less money for experimental comedy in order to protect drama on BBC One.
Last year BBC Three spent nearly £90m on programmes and broadcast more comedy than the whole of the rest of BBC TV.
When it goes online its programme budget will have shrunk by two thirds.
Secondly,  it's a clear message cutting BBC funding will cut programmes and services people watch.
The problem for the BBC is choosing which channel to close. Older critics may loathe F*** Off, I'm Ginger and Snog Marry Avoid?, but BBC Three reaches 16 million people a week and the audience is younger, less affluent and more diverse than other BBC channels.
Comedy producer Ash Atalla said the BBC had at a stroke made itself "whiter, older and more middle class".  That will sting.
BBC Three branding will remain on its offerings on the iPlayer, Lord Hall added, while some shows will eventually be shown on BBC One or Two.
He admitted this was the first time the BBC had ever proposed closing a TV channel - and warned he could not "rule out it being the last change to our programmes or services".
Former BBC Three controller Mr Cohen said in an ideal world "we would not be making this move for a few more years".
He added: "Given an entirely free hand, I would make this change in about four or five years' time, using the years between now and then to slowly shift the balance between linear and on-demand BBC Three content.
"That would be a safer, less risky strategy. But we don't have the choice to wait and do that due to the investments we need to make."
The BBC's media correspondent David Sillito said: "The detail is yet to be worked out. They're going to hang onto the brand, but it won't be a channel.
"It's going to be a much, much smaller output than people are used to. In essence there's less money for experimental comedy in order to protect drama on BBC One. "
Celebrity supporters of the channel, which has been the test bed for many successful comedy shows, have expressed their dismay at plans.
Matt Lucas, who launched Little Britain on BBC Three said the move would be "really bad for new comedy".
Gavin and Stacey's Ruth Jones said she was "really shocked", saying the station had "a special place in her heart."
She added: "However, I'm not an accountant and, I don't know, there's obviously reasons for it. People aren't just doing it for the benefit of their health, are they?"
Viewers have already started online petitions to save the channel in its current form, with one mustering the support of more than 60,000 people by Thursday lunchtime.
Some of them took part in a special Radio 1 programme, where listeners expressed their anger to Cohen.
"I'm completely gutted, I think you're completely ignoring our views," said BBC Three fan Alice. "We're not going to sit by and take it - we're going to make a stand and try to save the channel."
Another viewer, Michael, added: "Me and my fiance are not very techy people. We live busy lifestyles and BBC Three is on at a convenient time -  if it goes online we just simply won't watch it."
But a third audience member, Lewis, said he thought moving the channel online made sense.
"We know how to use things online. I think it's the older generations who are going to struggle if, say, BBC Four or a radio channel was cut.
"This the best of the worst situation," he added.
Cohen said he found the cut "painful" and as a former BBC Three controller, was "very focused" on its target audience.
"All those shows you love and like on BBC Three - once they've been online we're going to repeat them," he said.
"We'll put them on around 22:35 on BBC One when more people watch [that channel] than BBC Three. We'll make sure all those great comedies appear on BBC One and Two as well."


China says the oil rig that sparked a major diplomatic row with Vietnam by drilling in disputed waters has finished work and is being removed.

In a statement, China National Petroleum Corp (CNPC) said it would now assess the data collected by the rig.
China moved the rig into waters near the Paracel Islands - which Vietnam also claims - in May.
The row over the rig led to clashes between ships from the two nations and major anti-China riots in Vietnam.
Vietnam's coast guard told Reuters news agency that the rig was now moving away towards China's Hainan island.
Coast Guard Chief of Staff Admiral Ngo Ngoc Thu said the rig had been moving since late on Tuesday. A senior fisheries official also confirmed that the rig was under way.
The news that the rig was moving came in a CNPC statement carried by China's state-run Xinhua news agency.
"Signs of oil and gas were found in the operation," Xinhua quoted the statement as saying, and CNPC "will assess the data collected and decide on the next step".
China moved its Haiyang Shiyou 981 oil rig into South China Sea waters west of the disputed Paracel Islands in early May, an action the US described as "provocative" and "aggressive".
Government ships from China and Vietnam then clashed there on several occasions, bumping and exchanging water cannon fire as Vietnam sought to block Chinese drilling operations.
Vietnam also saw three days of anti-China unrest during which angry workers targeted foreign-owned factories in some areas, leaving at least two people dead and dozens injured. Several factories were burned down or damaged.
Both nations claim the Paracel islands and in 1974 fought a brief but bloody war over them.
The introduction of the rig came amid broader tensions between Beijing and South East Asian nations over the South China Sea.
China's maritime territorial claims overlap those of several of its neighbours and in recent years it has sought to assert these claims in a more muscular fashion.
Ties with Hanoi and Manila have been particularly badly hit. The Philippines is currently taking China to an international court over the issue.
A statement by China's Ministry of Foreign Affairs spokesman Hong Lei on the rig's removal pointed out that "the Xisha [Paracel] Islands are integral parts of China" and that the drilling operation was in "indisputable" waters which fell within China's jurisdiction.
China "firmly opposes Vietnam's unjustified disruptions" to operations, he added.


Sinn Féin's Stormont leader Michelle O'Neill "reopened wounds" by her attendance at a commemoration for eight IRA men shot dead by the SAS, the DUP's Sir Jeffrey Donaldson has said.

Ms O'Neill defended her decision to attend a commemoration for eight IRA men shot dead by the SAS in Loughgall in 1987.
An innocent civilian was also killed.
Michelle O'Neill spoke on Sunday at a memorial event marking 30 years since the ambush.
Mr Donaldson said all families had a right to remember their dead, but that the event on Sunday was "more than that".
"It was an opportunity for Michelle O'Neill to say the murder of innocent people by the IRA was wrong - to reach out to their families," he told BBC Radio Ulster's Talkback programme.
"Michelle O'Neill failed to acknowledge and recognise the suffering of IRA victims, she failed to reach out to them.
"It reopened wounds for many of those people to hear the person who aspires to be the Deputy First Minister in Northern Ireland defend the IRA."
Unionists and victims had reacted angrily to the move by Ms O'Neill.
However, she said everyone had a legitimate right to remember their dead.
She told people gathered for the commemoration at Cappagh, County Tyrone, that victims and survivors of the Troubles in Northern Ireland who sought justice and truth, must be given the strongest possible support and assistance.
"While much of our history has been marked by sadness and tragedy, we now have a unique opportunity to be the authors of a new, peaceful, and democratic future," she said.
"This does not mean we forget our past. Everyone has a legitimate right to remember their dead, tell their side of the story and share their experiences, and hurt, of that time, without being demonised.
"I challenge our opponents to stop fighting a war which is now over. There is an onus on all of us to move forward to create a free, just and equal society - together."
Ms O'Neill said she had been criticised by unionists and the media for commemorating IRA volunteers, but she was an Irish republican.
"I see no contradiction whatsoever in commemorating our republican dead while reaching out to our unionist neighbours to build the future - Orange and Green together on the basis of full equality and mutual respect," she said.
Sinn Féin's Gerry Kelly told BBC Radio Ulster's Talkback that Mr Donaldson "needed to realise that there needs to be equality for families of victims".
"They need to be allowed to grieve in their own way, no-one comes on and argues that people cannot be involved in the UDR (Ulster Defence Regiment), or the British Army or the SAS, or indeed loyalist murder squads."
Undercover soldiers killed eight members of the Provisional IRA's East Tyrone unit at Loughgall in May 1987.
It happened as they approached Loughgall RUC station in County Armagh with a bomb in a hijacked digger.
The IRA men shot were: Jim Lynagh, Padraig McKearney, Gerard O'Callaghan, Tony Gormley, Eugene Kelly, Patrick Kelly, Seamus Donnelly and Declan Arthurs.
The SAS also shot Anthony Hughes and his brother was badly wounded.
In 2014, Mr Hughes' family received a fully government apology confirming he was entirely innocent of any wrongdoing.
In 2001, the European Court of Human Rights found the rights of those killed at Loughgall had been violated.
Earlier this week, during a visit to a Catholic grammar school to meet Irish language students, DUP leader Arlene Foster criticised Ms O'Neill's decision to attend the commemoration.
"It is disappointing that when I am trying to make this a shared place for everybody in Northern Ireland that other leaders are doing things that frankly are wrong and backward looking," Mrs Foster said.
"I am thinking of what is happening in Loughgall on Sunday and I think that is something that Sinn Féin needs to reflect on.
"We have heard a lot during the election about respect and they need to understand what that means in terms of the past and in terms of the future, as people look to the future here in Northern Ireland."


Inverness Caledonian Thistle would be negligent not to look at the possibility of re-signing Billy Mckay, according to assistant boss Brian Rice.

The 27-year-old Northern Ireland striker is currently on loan with relegated Dundee United after failing to make an impact with Wigan Athletic.
He left Caley Thistle in January 2015 and his former club are keen to improve their goal threat next season.
"We would be stupid not to look at someone of his pedigree," said Rice.
"I don't think he's had the best of times at Dundee United, through no fault of his own, but he was magnificent for this club and sometimes you find a club fits you.
"You find yourself at home, things come easier."
Mckay, who started his career with Leicester City, scored 62 goals in four years with Caley Thistle after leaving Northampton Town in 2011.
The Highlands outfit have struggled to find a similar goalscorer since he was transferred to Wigan in January 2015 for an undisclosed fee.
However, after 11 goalless outings for the Latics, he switched to United last August on loan, scoring 13 goals in 33 appearances despite them spending all season at the bottom of the Premiership.
"It's definitely one we would like to look at and I'm sure everyone at the club - the management, the players, the board, the fans - would all like to see Billy back here," added Rice.
"As much as we would like Billy back here, I don't know if Billy would like to come back here."


Could you ever be tricked out of money by a stranger posing as a potential romantic partner?

On Thursday, we spoke to a Swedish woman who was tricked by a Nigerian man posing as a Dane seeking love.
Following that story, we received many emails from people saying they had been lured into similar traps. Here are some of their stories.
I was scammed some two months ago by a Nigerian man posing as an American, from Boston, Massachusetts, calling himself Thomas Crane.
He sent me a friend request on Facebook, and I just accepted it, partly because I wasn't used to Facebook and also he looked quite nice.
We very quickly started chatting on Facebook Messenger and he started phoning me. Looking back, I realise I was being groomed. I'm an intelligent woman, but he was clever enough to find a vulnerability in me as a divorced woman.
He got close to me quite quickly and sent me a whole series of photos of himself, all the way back to his childhood.
He said he was going to work on a multimillion-pound contract in Spain, and so would soon be in Europe.
Then he phoned me and said he was actually short of $4,000 - I was the only one who could help him out. I came within seconds of giving him the money, but then I told a friend and she brought me down to reality.
At that point I blocked him.
But then a week later he sent me an email saying he had told me some lies, but he really was Thomas Crane.
I unblocked him and started talking to him again. Why did I do that? I wanted to believe it was real, even though there was a voice in my head saying it can't be true.
Then I decided to play him at his own game, which was dangerous, but exciting. I wanted to teach him a lesson so I kept in touch, but kept him hanging on - making excuses for not sending him money.
I was then out of the blue contacted by a Romanian lady on Facebook who saw the picture of "Thomas Crane" and said she too had been scammed by him.
At that point I stopped - I told him I knew he was a scammer, and stopped communicating.
I never heard from him again, but the whole experience traumatised me.
I was scammed last year and I confess I completely lost my sense of reality to the elaborate web of deceit and lies.
I was in a peculiar place - married but looking for something else. I'm an artist, and was actively seeking a "muse", and trawling various dating sites.
I got an email saying I had a match - and that's when the trouble started.
After two or three days, the lady asked me to get instant messenger on Yahoo. From then on for a three-month period I was messaging her and emailing literally her all the time.
She said she was American, an ex-Playboy model and was now working in Saudi Arabia, doing deals on gems. Later she ended up in Nigeria.
How did I fall for all this? Somehow I wanted to believe it was true. And she supplied enough information that it was hard to prove her story completely untrue.
As soon as I started to get suspicious, she would act like a girlfriend I had treated badly, and lure me back in.
After a few weeks she said she needed help with this and the other. I was really cautious - I asked her what hotel she was in, Googled it and rang the reception. But they might have been in on it.
For three months this was the situation.  I was checking facts but ultimately I wanted to believe the romantic fantasy.
Some two months after it started, she said she was having trouble with a deal in Nigeria and needed some money to help grease the wheel of the transaction - £300 or £400.
I did end up sending the money. But the whole thing stopped quickly after that as my wife warned me if I sent any more money there would be serious consequences.
The affair was incredibly harmful to my marriage but thankfully with faith and forgiveness we are now in a much better place.
Maybe I am another victim of scamming and have learnt a very expensive lesson - but I am not sure.
I have been writing to someone who I met online in August. We hadn't met because he said he wanted to get to know me as a person before we met.
He said he had been awarded a civil engineering contract in South Africa worth £3.6m.
He was trying to buy a phone to take with him and the iPhone 7 was launched days before he left. He asked if I could get one for him and ship it over. He would pay me back when he got his first payment.
At the time everyone said that I should get the money from him first, but I felt he was genuine.
In the five weeks that he has been in South Africa he said that he's hit some problems and needed to "borrow" some cash.
I had no doubt that this was genuine so I wired over £2,000.
We had discussed his return to the UK - I was going to be meeting him at Heathrow. He was often talking about buying a property near to me. We were planning our Christmas together.
Last week he hit me with the next crisis - that the job has been shut down and he needed to pay some taxes upfront, which worked out as £200,000. He asked if I could get a loan to go towards the payment of outstanding taxes.
My heart believed him, but in my head alarm bells kept ringing.
I was in the process of securing a £100,000 loan and then I saw the BBC article about scamming. There are a number of similarities and it has really scared me.
I've asked him to FaceTime me or send a current picture - he said he would but hasn't.
I feel such a fool - I really thought that this was something special and I totally ignored everyone's warnings.
by Nathan Williams, UGC and Social News team


A white haired shadow of his former self, China's once all-powerful security boss Zhou Yongkang made his first public appearance in nearly three years from the dock of a criminal court.

"I accept the sentence. I will not appeal. I realise the crime I've committed and what I've cost the party," he said.
He was convicted of accepting bribes of 130m yuan ($21.3m; Â£13.8m), abusing his power and leaking state secrets. The state news agency said the trial was held in closed session due to the secrets charges.
A commentary from the Communist Party's flagship newspaper, The People's Daily, was read on state television's main evening news broadcast: "No one is above law. This case shows that our country is practising the rule of law and our party is determined to eradicate corruption."
The official account of the closed trial said Zhou Yongkang himself conceded the court process was fair and reasonable.
It included videotape testimony from his wife and son, and the court heard that most of the bribes involved family members.
Although the trial was only reported after the event, the official account was robust in its defence of China's judicial process. It said defence lawyers had many opportunities to talk to their client and were also able to cross-examine witnesses.
Few members of the public are weeping for Mr Zhou tonight.
"Tiger Zhou didn't escape lawful punishment. It should ring a warning bell for others", "Support justice. Everyone should obey laws!", "He knows law but breaks law. He deserves to be punished. We're determined to battle corruption," were some of the comments on the website Weibo.
Zhou is just the latest victim of the Orwellian security system he once ran.
Although the key charges relate to corruption, his trial is about politics much more than it is about money.
Zhou is in court because of a power play which went wrong.
During three and a half decades of high-speed growth, bribery and abuse of power have become commonplace among China's Communist Party elite and the charges Mr Zhou faces could be hung round the neck of many of those who currently wield power.
As for deliberately revealing state secrets, almost every aspect of the life and work of China's leadership is deemed a state secret and so this charge too can cover a multitude of sins.
In 2015, Chinese politics is still living through the fall-out of the vicious succession battle which brought Xi Jinping and a new top team to power - a battle in which a murder dealt the winning side a sensational wild card.
But is unlikely that Zhou Yongkang's trial revisited the poisoning of a British businessman in a Chongqing hotel room; and politics watchers will be disappointed that holding the trial entirely in secret has denied them any new insights into the 2012 succession struggle.
This way the current leadership can control the narrative around the theme of corruption, and avoid reminding the public of the dangerous and deadly ways the party elite operates.
But Chinese history is full of palace intrigue over which princeling will succeed the emperor - and a diet of TV soap operas keeps the public conversant with the Byzantine plots and murderous vendettas habitual to its political class.
Xi Jinping himself said recently that the "gene of traditional Chinese culture" is deeply planted in China's governance strategy.
It is unlikely he was referring to blackmail, poisoning and police cover ups.
But when it is no longer treason to tackle the subject matter, the year which began with a murder on 14 November 2011 and ended with the coronation of Xi Jinping exactly 12 months later will provide rich material for historians and scriptwriters alike.
Zhou Yongkang is one of the key protagonists of this drama, and mistakes made then are key to his disgrace now.
His key crimes are political, and the offences for which he has now been sentenced to life imprisonment merely provide the weapon for exacting revenge and ending his career.
So what really happened to bring Zhou Yongkang to the dock?
The short answer is that he was unlucky. He picked the wrong ally in Bo Xilai.
Mr Bo is now also serving a life sentence, but until his wife murdered a British businessman and he fell out with his police chief over the cover up, the Chongqing Party Secretary was aiming for China's top decision making body, the Standing Committee of the Politburo.
It is important to remember that the political battle in the run up to the 18th Communist Party Congress of November 2012 was less about Xi Jinping's accession to the role as party leader for the next decade and more about which men would share the top table with him.
Mr Zhou was required by party rules to retire from the Standing Committee, and it seems plausible that he had decided on Bo as his successor.
Like most party elders, Mr Zhou probably intended to continue his politics from retirement, with his protege Bo protecting his business interests and those of his family and patronage network.
There is no way of confirming rumours that the two plotted to remove Xi Jinping from office, but after the decade of elite bloodletting which accompanied the Cultural Revolution, and the disagreements which threatened to split the leadership two decades later over how to handle the 1989 democracy protests, Beijing is acutely sensitive to the danger of fractures at the top.
In March this year, the Supreme People's Court highlighted questions over what Zhou and Bo were planning when it said in its annual report that Zhou Yongkang and Bo Xilai had "trampled the law, damaged unity within the Party and conducted non-organisational political activities".
Timeline: Zhou Yongkang
1942: Born in Wu Xi city in China's eastern Jiangsu Province
1964: Joins the Communist Party and spends the next 32 years in China's oil sector
1998: Becomes party secretary of China National Petroleum Corporation
1999: Appointed party secretary of Sichuan
2002: Appointed member of the Politburo at the 16th Party Congress; becomes minister of public security later that year
2007: Further promoted to member of the Standing Committee of the Politburo - China's highest state organ
2012: His lieutenants begin to get sacked and investigated; he appears with Bo Xilai at Chinese National People's Congress session
December 2013: His son Zhou Bin is arrested on corruption charges
December 2014: Arrested, expelled from party
June 2015: Sentenced to life in prison
But even in the densely plotted world of Chinese politics, the best laid plans can go awry.
Neither Zhou Yongkang nor anyone else could have predicted that in November 2011, Bo's wife Gu Kailai would murder a long time British business associate, Neil Heywood, over a business quarrel.
Murder in itself was not enough to rock a high-flying Chinese political career.
Everyone involved seemed to feel invulnerable at the time.
The Chongqing police chief, Wang Lijun, had actually helped Gu obtain the poison she used, and subsequently it was he who organised the cover up.
But events soon started to spiral out of control when the conspirators fell out.
Wang tried to use his knowledge of the murder as political leverage, Bo sacked him and the police chief then pulled the sensational stunt of fleeing to the American consulate in nearby Chengdu to beg for asylum.
Suddenly this was no longer an everyday tale of murder and intrigue in Chinese politics but an international incident which had exploded into the cauldron of Beijing's succession struggle just as the party leader in waiting, Xi Jinping, was about to visit the US.
The charismatic Bo Xilai had earned enemies among the leadership in Beijing through his Maoist slogans and populist campaigns.
As the spreading scandal of murder and cover-up threatened to engulf Bo's hopes of promotion, Zhou fought hard to protect him.
In March 2012, just as the rest of the Standing Committee were uniting against Bo Xilai, Zhou spoke up to defend him.
For the man who once controlled police, paramilitary, intelligence services, prisons and courts, the three-year march to the dock of the Tianjin Intermediate Court must have provided an enlightening vantage point from which to view the empire he built.
Zhou Yongkang's last public appearance was on 1 October 2013, a week after his protege was sentenced to life in prison for bribery, embezzlement and covering up a murder.
With Bo's case concluded, the Party's Central Commission for Discipline Inspection could turn their attention to Zhou.
This is a story full of rich ironies.
Three years ago, Zhou praised the court officials who delivered Gu Kailai's murder conviction for serving the Communist Party well and "holding a fair trial which would stand the test of history".
Today, his life spared but his family in the hands of his enemies, the once mighty boss of China's court system pronounced a similarly positive verdict on his own trial.


Some military officers view new recruits as a "sexual challenge", a senior Army officer told the inquest into the death of a teenage soldier.

The court in Woking heard of a "toxic" environment at the Deepcut barracks in Surrey where Pte Cheryl James, 18, from Denbighshire, was found dead in 1995.
A senior soldier spoke of a sexualised atmosphere, indiscipline and inadequate supervision at the base.
A fellow recruit said Pte James had been chased round a room by a sergeant.
Pte James was one of four recruits to die from bullet wounds at the base between 1995 and 2002.
An initial inquest into her death recorded an open verdict but that was overturned by the High Court, which ordered the new hearing.
Alison Foster QC, representing Pte James's family, said a report in 2002 had suggested the atmosphere at Deepcut led to soldiers becoming "bored, demotivated and increasingly prone to indiscipline", creating a "psychological disadvantage" to weaker individuals.
She suggested to Brig John Donnelly, who is responsible for Army welfare, that there was a heavily sexualised atmosphere at Deepcut, with "abuse and misuse of power".
Brig Donnelly replied: "There was certainly a sexualised atmosphere at Deepcut, yes."
Ms Foster said: "Do you accept that this could present a morally chaotic environment for a young female person of teenage years? The pressure on a young female recruit could be intolerable, couldn't it?"
Brig Donnelly replied: "Yes. We did not have the structures in place to provide a proper duty of care."
Asked by counsel to the coroner Bridget Dolan whether the Army accepted that "some officers saw recruits as a sexual challenge", Brig Donnelly, who is the Army's director of personal services, said: "Yes we do. Sadly, not everybody subscribed to the set of values that we wish."
Jane Worboys, who did her basic training with Pte James after joining up in May 1995, said shortly before her death Pte James was locked in a room by a sergeant who chased her and "tried to have his way with her".
She said after hearing a shot on the morning Pte James died, a civilian guard told her that she had shot herself. Ms Worboys said: "I told her Cheryl wouldn't have done that."
Who were the Deepcut four? Background to the deaths and timeline of events
On the third day of the inquest into Pte James's death, Woking Coroner's Court heard sexual activity was so rife at the barracks that a room was unofficially put aside for young men to have sexual relationships, which were banned in rooms.
Ms Foster suggested there was a misogynistic atmosphere at Deepcut, adding: "The pressure on a young female recruit could be intolerable, couldn't it?"
Brig Donnelly replied: "Yes. We did not have the structures in place to provide a proper duty of care."
The inquest continues.


Computing giant Apple has reported flat profits and record revenues that still fell short of market expectations.

Net profit came in at $13.1bn (Â£8.7bn), unchanged from a year earlier due in part to higher costs associated with new product launches.
Revenue was up 18% at $54.5bn, thanks to record sales of iPhones and iPads, the company said.
But Apple shares fell in after-hours trading, as sales of the iPhone in particular disappointed.
By Rory Cellan-JonesTechnology correspondent
After seeing Apple's shares plunge nearly 30% - a move based almost entirely on sentiment rather than hard information - investors finally have some data to assess. Apple's Tim Cook said he was thrilled by results showing his firm's best ever revenue. The superlatives kept pouring out during the analysts' conference call - best ever iPhone and iPad sales, record music and app sales, growth in iPhone sales in China in the triple digits - and a cash pile of $137bn.
But, strange as it might seem, all of that evidence that Apple continues to be a phenomenal money-making machine may not be enough for Wall Street, which had expected even more.  The big worry will be about iPhone sales  which analysts had expected to be about 2 million higher.
Tim Cook was pressed on whether the firm had got the right sized screens, and on rumours that orders for new component supplies had been cut.  He insisted Apple had got the best screens in the ideal size and that a complex supply chain made the rumours about cuts meaningless.
But the real problem for Apple is not the numbers but the fear amongst investors that its best days may be over, that it will never find another innovation to match the iPhone or iPad. Tim Cook insisted his firm was working on some "incredible stuff" but Wall Street will want to see it before it starts buying the shares again.
Shares in the firm have fallen almost 30% since September over concerns the company may be losing its edge over increasingly confident competitors.
The company's products are facing a growing challenge from Samsung and other makers of Android-based devices.
Some analysts have said Apple is not competitive on price in key emerging markets where many cannot afford their products and other firms sell smartphones at much lower prices.
However, as well as a rival, Samsung is also a supplier to Apple. Its shares fell 1.7% on the news of the disappointing iPhone sales.
LG, which provides displays for Apple products, fell 3.1%, and Hon Hai, which assembles iPhones and iPads, dropped 3.2%.
Apple said it sold 47.8 million iPhones in the quarter, up from 37 million a year earlier, and 22.9 million iPads, compared with 15.4 million in the same period in 2011.
Many analysts had expected iPhone sales, following the release of the iPhone 5 in September, to break the 50 million mark.
"We're thrilled with record revenue of over $54bn and sales of over 75 million iOS devices in a single quarter," said Tim Cook, Apple's chief executive.
"We're very confident in our product pipeline as we continue to focus on innovation and making the best products in the world."
Analysts took rather a different view.
"The revenue number is dismal as far as what the expectations were," said Jeff Sica at Sica Wealth Management. However, he added that Apple was suffering from a "curse of high expectations".


London's benchmark share index opened higher, boosted by mining companies after the price of copper hit its highest level since February.

The FTSE 100 rose 32.94 points to 7,410.67. Anglo American shares added 4% and Antofagasta was up 2.3%.
Top riser was media group Informa, which rose 6.8% after it posted a 40% rise in half-year revenues thanks to its global exhibitions business.
Virgin Money shares fell 8% after it warned on the UK housing market.
The FTSE 250-listed bank said that while the market should remain "resilient", there could be some "areas of weakness to be navigated" in the short term.
Its comments overshadowed news of 26% rise in half-year underlying profits to Â£128.6m.
Domino's Pizza Group fell nearly 7% after the company reported a slowdown in its sales growth.
Half-year pre-tax profits rose 9% to Â£44.6m, but UK like-for-like sales growth slowed to 2.4% from 13% a year earlier.
Acacia Mining shares were down a further 11% as investors reacted to news that the company had been handed a $190bn bill for unpaid taxes and penalties from Tanzania.
The company has been accused of under-reporting export revenues, which Acacia denies.
On the currency markets, the pound was unchanged against the dollar at $1.3025, and down 0,1% against the euro at 1.1179 euros.


Head coach Anna Signeul feels her Scotland team have not enjoyed much good fortune in the build-up to Euro 2017 and in the 2-1 defeat by Portugal.

The loss in Rotterdam leaves Scotland needing to beat Spain on Thursday by two goals and hoping England beat Portugal, having defeated Spain 2-0.
"When you come to these tournaments, the margins are so small and we haven't had the breaks, not with injuries," Signeul told BBC Scotland.
"This is how it is sometimes."
Prior to the tournament, Scotland lost Kim Little, Jen Beattie and Lizzie Arnot through injury, and striker Jane Ross missed the Portugal game with a shoulder injury sustained in the 6-0 defeat by England.
Scotland and Portugal are playing in their first major finals and it was Francisco Neto's team who scored their first goal at that level when in 27 minutes Carolina Mendes seized on a miscued clearance by Vaila Barsley, who was perhaps thrown by the ball's deflection off Rachel McLauchlan's boot.
Erin Cuthbert scored for Scotland two minutes after coming on as a second-half substitute but defensive slackness allowed Ana Leite to break free for the winner.
Striker Lana Clelland had missed an open goal and then struck a post in the first half and Caroline Weir smacked a shot off the Portugal post late in the match as Scotland's frustration grew.
The win put Portugal on to three points, having lost 2-0 to Spain in their opening tie.
If England make a clean sweep of wins by beating the Portuguese on Thursday and Scotland can beat Spain, then Portugal, Scotland and Spain would all be on three points.
Uefa rules state that in such a scenario, group standings are arranged according to which team has "a, the higher number of points obtained in the group matches played among the teams in question; b, superior goal difference resulting from the group matches played among the teams in question; c, higher number of goals scored in the group matches played among the teams in question."
"Theoretically we are still in it, which is more than you can say about other teams in other groups," said Signeul ahead of England's win over Spain on Sunday evening.
"We played so well in the first half and it felt like we could have been up 2-0 or 3-0.
"Instead we got the counter-attack against us and the ball bounced on Rachel's foot and it put Vaila on the back foot as well. It was an unlucky first goal.
"We came back so well and fought and fought and fought for the equaliser, but they got the counter again. Unfortunately we couldn't put it in.
"The players will become mentally stronger for this.
"Erin did really well when she came on. She has such a great technique and technical mind, She is fearless, I am very proud of her."


The trial of a man accused of a Christmas hamper con which saw West Ham players lose thousands of pounds has been abandoned.

Stephen Ackerman, 48, of Loughton, Essex, denies 19 fraud charges with the proceeds totalling more than Â£60,000.
Mr Ackerman is accused of selling hampers to players that never arrived under the alias Mark Kingston.
The jury has been discharged with a new trial set to start on 24 October at Snaresbrook Crown Court.


A man has described being shot by a gunman seconds after collecting his daughter from primary school.

Ross Sherlock, 35, from Glasgow, said he was walking towards his car when a man wearing fluorescent workmen's clothing pulled out a gun and fired.
Mr Sherlock said he threw the umbrella he was carrying at the gunman and ran.
He was giving evidence at the High Court in Glasgow at the trial of William Burns and Alexander Porter, who deny attempting to murder Mr Sherlock.
They also deny assaulting crime journalist Russell Findlay to the danger of his life at his home in the city's west end on 23 December in 2015 by throwing sulphuric acid in his face.
The prosecution also alleges that the offences were aggravated by a connection to serious organised crime.
Mr Sherlock, who described himself as a kitchen fitter at the time of the shooting on 24 September 2015, told the court he was walking down a lane from St Helen's Primary School in Bishopbriggs and was chatting to another parent as their daughters walked hand-in-hand in front.
The jury heard that the area was busy with parents collecting their children from the school at the time.
He was asked by prosecutor Richard Goddard: "What happened then?"
The witness replied: "I noticed a gentleman with working clothes. They were fluorescent, I think yellow. He was coming from behind me and walked towards me. He pulled a gun out, hit me and I ran."
Mr Sherlock added: "He was less than 10 feet away. I just saw him coming towards me."
Mr Goddard asked Mr Sherlock: "You threw the golf umbrella you had in the direction of the gunman?"
He replied: "Yes, as he was about to fire the first shot. The gun was in his pocket and I saw him pull it out. That's when I threw my brolly."
Mr Sherlock told the prosecutor that the weapon was a handgun that looked "pretty big".
The jurors were told that Mr Sherlock was hit on the right arm and that the bullet had broken his arm as it passed through the limb.
He also suffered a graze on his chest and said it was caused by the spent bullet hitting his side.
He said he ran through gardens, ending up in Ronaldsay Drive, where he phoned his partner, who went to get his daughter.
Mr Sherlock said: "I just asked her if our daughter was okay and I told her to come and get me."
The pair then drove to the Royal Infirmary in Glasgow to have Mr Sherlock's injury treated.
Mr Goddard asked: "Did it cross your mind to phone the police?"
Mr Sherlock replied: "No, my object was to get to hospital to get treatment."
Mr Sherlock was asked if he could identify the gunman, to which he responded: "No. When I saw him approaching me, I watched his hands more than anything."
William Burns, 56, has lodged a special defence of alibi in relation to the attempted murder of Mr Sherlock, saying he was working at Guinea Enviro in Maryhill, Glasgow, at the time.
He has also lodged a special defence incriminating James Boyce for the shooting and whose whereabouts is unknown.
The trial before judge Lord Matthews continues.


A Roman street complete with "spectacular" mosaic floors has opened to the public in Leicester.

Two building foundations and dozens of pieces of pottery and weapons were unearthed in the excavation, which started in September.
The dig at the old factory site, near Great Central Street and Highcross Street, is open until Sunday afternoon.
One of the mosaics is considered to be the "finest" ever found in more than 150 years in the city.
The rooms in the houses contain mosaics with elaborate patterns and designs.
The mosaic in one reception room is considered "the largest and finest-quality mosaic found in over 150 years in Leicester", the University of Leicester Archaeological Services (ULAS) said.
The dig also located pottery, coins, brooches, beads, hair pins, gaming pieces and manicure objects along with a decorated knife handle cast in copper alloy, which depicts a scene showing victims thrown to the lions in an amphitheatre.
Richard Buckley, co-director of ULAS, said: "The excavation has revealed evidence for the homes of some of [Roman Leicester's] wealthier citizens who lived just a short walk away from both the town's baths, now at Jewry Wall, and forum, beneath what is now Jubilee Square.
"Despite huge disturbance from modern buildings, evidence for Roman streets has survived together with fragments of some spectacular coloured mosaic pavements which the public will be able to see from a specially constructed platform."


Manchester United's signing of Ashley Young is the perfect deal for both the club and the player.

We've all been waiting for Young to kick on and become the really outstanding player we think he can be and Manchester United is just ideal for him, he couldn't have a better stage.
He is playing for a manager in Sir Alex Ferguson who loves wide players and who loves to throw people forward, so he should be right at home.
Young had a great record of assists at Aston Villa and you can be sure he will have more, and score more goals, at United because he will have so much more of the ball.
I am surprised Chelsea were not more heavily involved because there is a real dearth of the sort of attackers who provide the sort of potent options Young offers
United will be delighted with the business they have done to get Young. I think the fee of about £17m represents an absolute bargain, governed of course by the fact that his contract was running down and he was not going to stay at Villa Park.
Liverpool were obviously very interested and will be disappointed to miss out and I am surprised Chelsea were not more heavily involved because there is a real dearth of the sort of attackers who provide the sort of potent options Young offers. They are rarely available, especially at the price United have paid.
It is a great move for United because it allows Ferguson to put another Englishman in the dressing room after signing Phil Jones from Blackburn, and Young is a player who knows the Premier League, knows what it is all about and will have no worries about settling in to his new environment.
He will also give some real hurry-up to people like Nani and Antonio Valencia. They might just be wondering 'what have I done wrong?' and come back really flying and fired up for pre-season to prove to Ferguson that they should be in the starting line-up.
Ferguson has got some absolutely outstanding players in that squad now and the addition of Young means he can almost field two separate teams once he has completed a deal for a new goalkeeper after Edwin van der Sar's retirement.
Young can play on both the left and right side and also off the centre forward and in England's last few games, when Fabio Capello has played him, you could arguably say he has been their best player.
Now he is at a club where he doesn't have to be the best player every week and it is a simple fact that if you are playing with a top team and top players you must improve.
If United can get an extra 20% out of Ashley Young they will have a top, top player and they will have done it at a very reasonable price in today's market place. He appears to represent real value for money.
Everyone has recognised for a long time that Young was a good player but everyone also said he would have to leave Aston Villa to become a better one. He is not yet at his peak, has the time and the platform to improve and his arrival will make United some proposition in attack.
Ferguson already has Wayne Rooney and Javier Hernandez, as well as Nani and Valencia, throw Young in and teams will not know who to pick up.
As I said, he will be playing for a manager who understands what makes this type of player tick and will play in a style that will allow him to flourish. It is also another clear sign that Ferguson is really serious about adding strength to his Old Trafford squad after winning that record 19th title but losing to Barcelona in the Champions League final.
Mark Lawrenson was talking to BBC Sport's Phil McNulty.


Colombia's President Juan Manuel Santos has signed a law that imposes tougher sentences on the perpetrators of acid attacks.

Anyone convicted of such crimes will now serve between 12 and 50 years in jail.
Acid attacks have become a major concern in Colombia over the past decade.
About 100 people - most of them women - are estimated to be targeted every year.
The attackers can be male or female, ranging from disgruntled neighbours to jealous partners.
The law had been approved by the Senate in November.
The enacting ceremony at the presidential palace in Bogota was attended by several victims of acid attacks.
Among them was Natalia Ponce de Leon, after whom the new law was named.
She became a high profile campaigner after having her face and other parts of her body disfigured by sulphuric acid in March 2014.
She was targeted by a neighbour, Jonathan Vega, who had become obsessed with her and got angry after having his advances rejected.
"The new law helps remedy a big legal loophole and will help prevent the absurd attacks that so many of us have suffered," said Ms Ponce.
Mr Santos praised the fight of the victims for their rights and for new legislation.
"We don't want to see more people destroyed," he said at the ceremony.
Under the new law, those who "use any type of chemical agent" to hurt someone will be jailed for between 12 and 20 years, but the sentence can increase to up to 50 years in prison for those who permanently disfigure their victim.
Previously, acid attacks fell under the category of physical aggression, such as beatings, and sentences were relatively short.
Until now, very few people have been convicted for such attacks.


The mother of a teenager who took his own life following a battle with drugs has called for a secure children's mental health unit for Northern Ireland.

1 August 2016 Last updated at 09:12 BST
Sarah Fox's son Aaron, died aged 16.
Ms Fox said it was "horrendous" watching her son "self destruct" and said she believes a secure unit could have saved his life.


Boreham Wood have named Luke Garrard as manager, making him the youngest boss in England's top five divisions.

The 30-year-old former Tottenham youth player was assistant to Ian Allinson before the ex-Arsenal winger's resignation as Wood manager on Monday.
Garrard joined Wood as a player in 2010, helping them win promotion to the Conference South in that year and into non-league's top flight last season.
He takes over a side currently 20th in the National League table.
Allinson had been in charge of Boreham Wood since May 2008 and took them to the National League last season with a Conference South play-off final victory over Whitehawk.
"The club is and has been a huge part of my life," said Garrard, who will continue to work alongside alongside first-team coach Junior Lewis.
"I've worked alongside Ian for just over three seasons as his assistant manager and I have learnt a lot in that time.
"I owe Ian a huge thank you but it's now my turn to make the tough decisions, it's now my head that's on the block and hopefully I will get the big decisions more right than wrong."


Los Angeles has not conceded defeat to Paris in the race to be named host city of the 2024 Olympic Games - but its bid leader has hinted it is open to hosting them in 2028.

The two cities are the only ones left in the race for 2024 after Budapest, Hamburg and Rome withdrew.
Bid chair Casey Wasserman appeared to concede to Paris when he said: "We have never been only about 2024."
But a spokesman later told BBC Sport: "LA is the ideal host city for 2024."
He added: "LA is not conceding anything in the race for the 2024 Games."
Concerns over this apparent lack of interest in staging sport's biggest event, as well as years of bad publicity about spiralling costs and unused venues, has led the International Olympic Committee to consider taking advantage of these two strong bids by giving them a Games each.
Confirmation of the legality of that option is expected on Friday.
Wasserman issued a statement on Wednesday that appeared to concede the race.
"Even when the issue of a dual award for the 2024 and 2028 Games was initially raised, we didn't say it's 'LA first' or it's 'now or never' for LA: that sounds like an ultimatum," Wasserman said.
"We could have used that strategy but we didn't because we thought it was presumptuous to tell the IOC what to do and how to think. We're better partners than that.
"It has always been our contention that LA 2024 had to make as much sense for the Olympic movement as it did for the people of LA. And we've stuck to that premise.
"We don't believe in ultimatums - we believe in partnership; that's why we are willing to look beyond ourselves and ask the question 'how can LA best serve the long-term needs of the Olympic and Paralympic Games?"'
He said the LA bid requires no public funding and all the facilities are either built or being built anyway.
But the bid team later issued the clarification to emphasise they had not given up on LA hosting in 2024.
The Paris bid aims to mark the centenary of its last Games in 1924 and end a run of three previous failed bids, most recently in 2005 when London was awarded the 2012 Games.
Paris has also claimed it has to go first as the site it has earmarked for the Olympic Village will not be available for redevelopment after 2024.
The traditional vote to decide between the bidders is scheduled for the IOC session in Peru's capital Lima in September.


European Grasstrack champion James Shanes admits his "dream move" has come to reality after agreeing to join Poole Pirates next season.

Media playback is not supported on this device
Shanes, 19, from nearby Puddletown in Dorset, initially thought Pirates' boss Matt Ford's phone call offering him a contract was someone "having him on".
"It's a dream come true to ride for Poole and for my local club," he said.
Shanes will occupy one of Poole's two reserve rider berths next season in speedway's rebranded Premiership.
"I can't believe I've been offered a contract and a lot of fans have said already they'll be excited to see me as a local rider next year," he told BBC Radio Solent.
"When Matt Ford rang me, I was out and expecting a call from someone else at the time, so I thought he was someone I knew having me on."
Aside from being crowned a European champion in October, Shanes also competed in the third-tier National League for Kent last season.
He is looking ahead to making the step up to the sport's top flight, having previously spoken about his ambition to BBC South Today.
"It's going to be hard, but I think 90% of the clubs in the Premiership will be in the same boat with a rider like me in their reserve slot," he added.
"But, riding with the experienced riders is going to bring me on just by being alongside them and picking up their knowledge."


Some of the self-employed should be entitled to the national minimum wage, a think tank has urged.

The Resolution Foundation says that about half of the 4.8 million people classified as self-employed are low-paid and earn less than £310 a week.
As they have no chance to set their own wages they should be classified instead as workers, with wage protection.
Are you self-employed and think you should be getting workers' rights? Email haveyoursay@bbc.co.uk and include your telephone number.
The idea received endorsement from the former head of the Low Pay Commission and CBI, Lord Adair Turner.
He told the BBC that certain companies in the gig economy have been operating successfully by avoiding paying minimum wage or employee contributions.
"I think the scale of it is probably sufficient that we should tighten up on that. Essentially we should enforce the minimum wage on those categories of the self-employed who, when when you look at them are essentially employed in the fundamental nature of how their work is organised."
The idea has been submitted by the Resolution Foundation to the Taylor Review on modern employment practices.
Mathew Taylor, the chief executive of the Royal Society for the Arts, was appointed last October by the government to lead a review into the effect of new types of businesses, such as Uber and Deliveroo, which have led to an increase in the number of people in short-term and casual work.
Conor D'Arcy of the Resolution Foundation, said: "While many [of the self-employed] are higher earners who benefit from significant flexibility, around half fall below the low pay earnings threshold of just £310 a week."
"The government can start by extending minimum wage protections to those self-employed people whose prices are set by a firm.
"This would mean that self-employed people in the gig economy would be given protection against extreme low pay for the first time ever," he added.
By law most workers are entitled to the National Minimum Wage and the rate they receive depends on their age.
Currently for 21-24-year-olds the rate is £7.05 per hour, for 18-20 year olds £5.60 and for 16-17 year olds £4.05. The apprentice rate is £3.50.
If you are over 25 the National Living Wage applies to you. That is currently set at £7.50 an hour.
The independent Low Pay Commission advises the government on those rates.
You will also hear a third type of wage referred to - the "real living wage". It is calculated annually by the Living Wage Foundation, an independent group.
The rate, which is not statutory, represents "what employees and their families need to live", and organisations that pay it receive accreditation from the foundation.
For the UK it stands at £8.45 per hour and in London at £9.75 an hour.
The Resolution Foundation argues that the test of whether people are really self-employed or simply disguised workers should be whether or not the employer sets the price for the work they do.
If applied, that test would affect some well-known industries.
"Affected firms would include gig economy-style platforms claiming to simply connect the self-employed to customers but setting the price for work done, or those with standard terms that they apply to a significant number of the self-employed," it says.
That would mean a big change for tens of thousands of workers, such as 170,000 self-employed Uber and minicab drivers, 40,000 postal and courier staff, 150,000 hairdressers and 80,000 cleaners.
Mike Cherry, chairman of the Federation of Small Businesses, said: "It would be helpful if a better distinction could be made between real entrepreneurs and those who, in all but name, have the appearance of being employed by giant corporations."
In May, the Parliamentary Work and Pensions Committee reported after an inquiry that self-employed status had left some workers vulnerable to "exploitation".
The committee said that drivers and couriers for companies such as Uber and Deliveroo needed full workers' rights and not "bogus" self-employment status.
The Institute of Directors (IoD) said it agreed that the status of workers should be clarified by the government, with the publication of easy-to-understand guidance.
But Seamus Nevin, head of employment and skills policy at the IoD, said undermining the gig economy would bring disadvantages.
"Evidence from the Labour Force Survey and the ONS suggest that easier routes into self-employment have also led to rising workplace participation for those who have historically struggled to find a job; notably single parents, disabled individuals, and the long-term unemployed," he said.
"An obligatory minimum wage would undermine the business model of many gig platforms, such as taxi, delivery or cleaning services, who would find it hard to justify paying people at times when there was no demand."


Worcestershire's overseas signing Mitchell Santner is to return to New Zealand after only two appearances for the county because of a finger injury.

The 24-year-old will not play again this summer following surgery on a finger he fractured last Friday.
Having suffered the injury in their T20 Blast opener against Durham, the club say "a complication in the healing process" made an operation necessary.
His only other appearance came in the Championship game against Glamorgan.
Santner had been due to play for Worcestershire throughout the entire group stage of the T20 competition.
"It is a massive blow," said Worcestershire director of cricket Steve Rhodes. "He is such an exciting talent in all formats of the game, but particularly T20.
"We were very optimistic he would come back from the injury but sadly he needed surgery."
Having only revealed the news of Santner's injury just before Friday night's T20 derby with the Birmingham Bears, Worcestershire went on to win without him at Edgbaston by five wickets, with five balls to spare.
Brett D'Oliveira starred with an unbeaten 62 off 47 balls, including a straight six to finish, after taking 1-17 in his four overs of off spin.
"Dolly was brilliant. He thoroughly deserved man of the match," said Rhodes. "In typical fashion, our youngsters have stood up and all pulled together,"


Britain's James Woods won gold in the ski big air at the X Games in Aspen.

The 25-year-old, who had earlier finished fourth in the slopestyle, landed two triple corks to take top spot from Sweden's Henrik Harlaut on countback after both men scored 88.
Snowboarding big air will be making its Olympic debut next year in Pyeongchang.
Woods' compatriot Katie Ormerod had earlier won bronze in the women's snowboard slopestyle behind American pair Julie Marino and Jamie Anderson.


Academy governors will meet this week for a final decision on closing a sixth form, which would mean an entire borough would have no schools with A-level places.

Halewood Academy in Knowsley says its sixth form is not financially viable and has announced it should be shut.
But its closure would mark the end of the last A-level places in the borough.
Parents at the school who are protesting say: "This is letting down the children of this community."
On Wednesday, school principal Gary Evans said that parents would be told of the outcome as soon as the decision is reached this week.
Last month the governors at Halewood Academy announced that the sixth form should be closed because of funding cuts which made it financially unsustainable to continue with a sixth form for about 80 students.
Since this was the last remaining school in the borough offering A-levels, it would mean the entire A-level provision in Knowsley, in Merseyside, would cease, and pupils would have to seek places in schools in other authorities.
The local authority said that since this was an academy, it could not intervene in the decision.
A consultation on the proposed closure ended at the weekend - and there will now be a final decision.
Mr Evans says that the academy has been "working hard with Knowsley Council to ensure that individual pupils are catered for as a result of the decision to close the sixth form in August 2017".
Knowsley already has among the lowest university entry rates in England - and parents have warned about how this could block the ambitions of their children.
"This is letting down the children of this community. There are people who want to go to university, lots of kids who want to do well," says Vanessa Pointon, a parent at the school.
Sir Peter Lampl, chairman of the Sutton Trust which campaigns for social mobility, said: "It is important that young people have the opportunity to access a good choice of A-levels wherever they live."
Despite funding challenges, it was "crucial" that "such choices aren't curtailed", said Sir Peter.
It has also raised questions about how local provision will be protected if all schools are autonomous academies or academy chains.
"Who is accountable? Nobody knows. Who do we get in touch with?" says Ms Pointon, who is part of a parents' campaign to save the sixth form.
A spokeswoman for Knowsley council said: "Whilst we, as the local authority, do work with all our local academies to help them improve education standards, as an academy the school is ultimately accountable to the regional school commissioner, and not the local council."
The Department for Education says that if the school goes ahead with the closure it will still have to be scrutinised by education officials.
"It must make the case to the Education Funding Agency and the regional schools commissioner that post-16 provision in the area would not be adversely affected by the closure before it can be given permission to close it," said an education department spokesman.
The education select committee, which earlier this year published a report questioning the transparency of the role of regional schools commissioners, replied on Wednesday to the government's response.
Neil Carmichael, committee chairman said: "Regional schools commissioners play a powerful role in our educational system, but their work is not widely understood.
"Whilst the committee welcomes the government's moves to improve the accountability of regional schools commissioners, there is still a long way to go, particularly in terms of transparency and oversight."


A UK-wide inquiry will be held into the contaminated blood scandal that left at least 2,400 people dead, the prime minister has confirmed.

A spokesman for Theresa May said it would establish the causes of the "appalling injustice" that took place in the 1970s and 1980s.
Thousands of NHS patients were given blood products from abroad that were infected with hepatitis C and HIV.
It's been called the worst treatment disaster in the history of the NHS.
Many of those affected and their families believe they were not told of the risks involved and there was a cover-up.
Speaking to the BBC, Mrs May said: "They deserve answers, and the inquiry that I have announced today will give them those answers, so they will know why this happened, how it happened.
"This was an appalling tragedy and it should never have happened."
A recent parliamentary report found around 7,500 patients were infected by imported blood products.
Many were patients with an inherited bleeding disorder called haemophilia.
They needed regular treatment with a clotting agent Factor VIII, which is made from donated blood.
The UK imported supplies and some turned out to be infected. Much of the plasma used to make Factor VIII came from donors like prison inmates in the US, who sold their blood.
Jason Evans was just four years old when his father Jonathan, a haemophiliac, died after being infected with HIV through contaminated Factor VIII treatment.
Jason recently discovered that in late 1984 his father had raised concerns with his doctors about Factor VIII but he says he was told "there was nothing to worry about, this is sensationalism and not to pay attention to it. And he trusted his doctor".
BBC Panorama - Contaminated Blood: The Search for the Truth
Families of those who died will be consulted about what form the inquiry should take.
It could be a public Hillsborough-style inquiry or a judge-led statutory inquiry, the prime minister confirmed.
Labour leader Jeremy Corbyn said the inquiry should have the potential to trigger prosecutions.
A Scottish government spokesperson said: "We were very surprised that as the new inquiry is expected to extend to Scotland, the UK government did not seek to discuss this with us in advance of their announcement. We will be seeking clarity as a matter of some urgency.
"People in England and Wales should get the same opportunity to get answers as we have already given through the Penrose Inquiry in Scotland."
Sir Peter Bottomley, co-chairman of the cross-party parliamentary group on haemophilia and contaminated blood, said the success of the inquiry would depend on it being able to get hold of sensitive information.
"It must have powers to get documents from pharmaceutical companies and government," he said.
The government has been strongly criticised for dragging its heels.
Greater Manchester mayor and former health secretary Andy Burnham has repeatedly called for a Hillsborough-style probe into what happened.
Mr Burnham claimed in the Commons that a "criminal cover-up on an industrial scale" had taken place.
The Downing Street announcement came hours before the government faced possible defeat in a vote on an emergency motion about the need for an inquiry.
Payments have been made to some of the people who were infected. A fund was established to help support survivors.
If the new inquiry finds culpability it opens the door to victims seeking large compensation payouts through the courts.
Liz Carroll, chief executive of the Haemophilia Society, said: "The government has for decades denied negligence and refused to provide compensation to those affected, this inquiry will finally be able to properly consider evidence of wrongdoing."
Improvements in donor vetting meant that by 1986 UK patients were receiving safer treatments.
By the late 1990s, synthetic treatments for haemophilia became available, removing the infection risk.
Anyone who received a blood transfusion before 1991 is potentially at risk of Hepatitis C infection since blood donations were not screened before this date.
Blood donations are now routinely tested for infections, including hepatitis and HIV.


A UK ticket-holder has scooped a £51.8m lottery jackpot on Euromillions.

Tuesday's winning numbers were 01, 05, 09, 22 and 38 and the winning Lucky Star numbers were 02 and 10. The top prize was £51,818,873.
Four ticket holders matched five numbers and one lucky star to win £207,523 each and 12 people matched five numbers to claim £23,058.
National Lottery said it was the third Euromillions jackpot to be won in the UK so far this year.
"National Lottery players in the UK are enjoying a fantastic run of luck on Euromillions," said a spokeswoman.
"We urge all players to check their tickets, to see if they have scooped the £51.8m jackpot, so they can begin to enjoy their life-changing win as soon as possible."
Just weeks ago a British player was the sole winner of a £24.6m Euromillions jackpot.
A ticket holder in Ireland claimed a 66m euro (£50m) share of the jackpot in February.
Last week, a £35.1m National Lottery jackpot, the biggest in the UK game's history, was won by a single ticket.


Salford Red Devils owner Marwan Koukash says playing Friday's game against Catalans "shows solidarity and support" to victims of the Manchester attack.

Fans have been offered free entry to the Super League game at AJ Bell Stadium but will be asked to make a donation to help those affected.
It will be the first major sporting event in Greater Manchester since the bomb incident at the Manchester Arena.
"No, we did not consider postponing," Koukash told BBC Radio 5 Live.
"It is not something we could have done as it is subject to the RFL [Rugby Football League].
"It is an opportunity, instead of postponing it, to show solidarity and support to those affected."
There will be a one-minute silence before the match, which kicks off at 20:00 BST, and the club have asked for a round of applause in 22nd minute as a mark of respect for the 22 people who died.
"Terrorist acts are no longer what we see on television, it has happened here within our community," added Koukash.
"It affected our families and killed our children - rugby league is a sport based on families helping each other.
"All we are asking for is for people to turn up, whether you love rugby league or not, collect a free ticket and put in a donation no matter what you can afford.
"If it is a £1 it is a £1, if it is £20, whatever you can afford put it in the donation box and all the proceeds will go to the fund."
Salford are having their best season for a number of years and are currently second in the table after only securing their top-flight status in the Million Pound Game last October.


Spain and Germany sought to reassure investors that Spain would not need a full international bailout, after its borrowing costs hit a record high.

German Finance Minister Wolfgang Schaeuble and his Spanish counterpart Luis de Guindos issued a statement.
They said Tuesday's record 7.6% yield on 10-year Spanish bonds - the government's implied borrowing costs - did not reflect economic fundamentals.
Mr Guindos will meet French Finance Minister Laurent Fabius on Wednesday.
Spain's financial situation continues to worry investors, with borrowing costs rising and the Catalonia region saying it will need government funds.
On Tuesday, Spain claimed Italy and France back a plan for the immediate implementation of measures agreed last month.
These include aid directed at Spain's banks without adding to national debt.
Spain said there had been a "worrying delay" in executing the agreements thrashed out at the eurozone leaders summit on 29 June.
The main provision would be to allow the future European bailout fund, the ESM, to pour money directly into ailing banks such as those in in Spain, circumventing national governments.
The creation of the fund has been hampered by constitutional challenges in Germany which mean Berlin will not be able to ratify the agreement before 12 September.
"Speed is an essential condition for the success of any European action," the statement released by the Spanish foreign ministry said.
But, France's European Affairs Minister Bernard Cazeneuve denied any accord with Italy and Spain on immediate implementation.
"It makes no sense to say that. We are following the decisions taken at the European summit and are working on them," said Mr Cazeneuve.
The Italian government also categorically denied that it was part of any joint initiative with Spain.
The record high yield on the Spanish government's benchmark 10-year bond  reflects tension in the markets over the strain on its finances.
Rating agency Moody's warned Spain was more likely to need a full bailout, putting pressure on the euro's strongest economies, such as Germany.
By Andrew WalkerBBC World Service Economics correspondent
Higher borrowing costs can make the difference between a debt situation that is a problem and one that is ultimately unsustainable.
But the impact on the interest bill is slow, and that is why a spike in bond yields doesn't immediately wreck the Spanish government's finances. It's like turning an oil tanker.
When governments borrow they generally do it by selling bonds - which are a promise to repay - and the effective interest rate that the borrower has to pay is fixed for the lifetime of each batch of bonds.
Each time Spain goes to the market for new money, the interest rate it pays then feeds into its total borrowing costs. The general trend is upwards and that means the tanker is gradually turning towards the rocks. The eurozone has to decide whether to grab the wheel, giving a new bailout to keep those borrowing costs from rising further.
As a result,
          the agency changed its outlook
for Germany's AAA credit rating to negative, the first step towards a possible downgrade within the next two years.
On Monday Spain's market regulator tried to make selling investments less easy.
It introduced a widespread ban on short-selling, a market technique whereby traders sell stock before they have to deliver it, in the expectation it will fall in price so they can buy it more cheaply in time to meet the order.
In other developments:
Spain has already been granted a loan package of 100bn euros ($125bn; Â£80bn) for use by its banks, a different form of support than that given to the bailouts of Greece, the Republic of Ireland and Portugal.
But a number of the country's 17 autonomous regions are in deep debt and are lining up to tap a new 18bn-euro public fund.
By Gavin HewittEurope editor
The request for help from Catalonia, the second-biggest, follows on the heels of a similar call for assistance from Valencia.
The region's finance minister told the BBC the region had "no other bank than the government of Spain".
Others are expected to join them in asking the central government for a handout at a time when it is having to pay more and more to borrow for its own financing needs.
Nicholas Spiro of Spiro Sovereign Strategies, said that it was a relief that Spain had raised all the funds it had wanted to at Tuesday's auction, but that the interest rate had spiralled: "The most important takeaway from this auction is that Spain was able get all its debt out the door.
"Still, in March, Spain was able to issue six-month debt at a yield of under 1%, now it is paying 3.7%."
In addition to Germany, the Netherlands and Luxembourg - both AAA rated economies - were also put on negative watch late on Monday, joining France and Austria who were put in the same position earlier this year.
Moody's warned that Germany and other highly-rated countries may have to increase levels of support for countries such as Spain and Italy, who have not asked for a Greek-style bailout but who are struggling with high debt levels.
It said in a statement: "Even if such an event [a Greek exit] is avoided, there is an increasing likelihood that greater collective support for other euro area sovereigns, most notably Spain and Italy, will be required.
"This burden will likely fall most heavily on more highly rated member states if the euro area is to be preserved in its current form."
Moody's said there was an increased chance that Greece could leave the eurozone, which "would set off a chain of financial sector shocks".
It added that policymakers could only contain these shocks at a very high cost.
The German Finance Ministry said the country would remain strong, and said that Moody's was focusing on short-term risks.
Moody's is one of a handful of agencies that assess the creditworthiness of borrowers.
Rival agencies, including Standard & Poor's and Fitch, have Germany on the AAA top rating with a stable outlook, implying they do not currently foresee a weakening of its financial position, although all agencies regularly review their rankings.


A Polish man who followed a stranger off an Edinburgh bus before subjecting the woman to a rape ordeal has been jailed for seven years.

Krzysztof Druzgala, 21, had earlier admitted raping the woman at Swanfield Industrial Estate on 30 August 2014.
The court heard how the victim was attacked as she made her way to work in Leith.
Druzgala pinned her to the ground and punched her. He said later he was drunk and could not remember the attack.
A judge at the High Court in Edinburgh told Druzgala, through an interpreter: "The violence you inflicted in order to overpower her and have sex with her was both extreme in nature and prolonged.
"The girl was frightened for her life and attempted to co-operate with your demands in order to save herself.
"As a result she was badly injured and has been profoundly affected by the trauma you inflicted upon her, both physically and mentally."
The judge said the rape on a 20-year-old stranger in a public place was achieved through violence and threats.
Lord Burns said he would have jailed him for 10 years for the offence, but for his early guilty plea. He also ordered that he be kept under supervision for a further three years.
Lord Burns said the sex attacker's supervision may be a matter for the Polish authorities and pointed out he would be the subject of automatic deportation provisions.
He told Druzgala: "You will remain on the sexual offenders' register for life.
Druzgala was shown CCTV footage from the bus and identified himself. He said: "I don't remember if I met a girl. I was drunk and might not remember."
Druzgala was arrested in Constitution Street in Edinburgh after the attack.
His DNA was found on the fingernails and clothing of the victim.
Defence solicitor advocate Robbie Burnett said: "He deeply regrets his actions, but he has not got the slightest recollection of the incident."
Det Ch Insp Alwyn Bell, of Police Scotland, said: "This was a horrific ordeal for the young woman to endure and a thorough investigation was undertaken to identify the perpetrator.
"As a result of extensive CCTV enquiry Druzgala was identified and brought to justice for this crime.
"I would like to pay tribute to his victim at this time for her courage and continued assistance during our investigation."