British computer hacker Gary McKinnon will not be extradited to the US, Home Secretary Theresa May has announced.

Mr McKinnon, 46, who admits accessing US government computers but claims he was looking for evidence of UFOs, has been fighting extradition since 2002.
The home secretary told MPs there was no doubt Mr McKinnon was "seriously ill" and the extradition warrant against him should be withdrawn.
Mrs May said the sole issue she had to consider was his human rights.
She said it was now for the Director of Public Prosecutions, Keir Starmer QC, to decide whether he should face trial in the UK.
Mrs May said: "Since I came into office, the sole issue on which I have been required to make a decision is whether Mr McKinnon's extradition to the United States would breach his human rights.
"Mr McKinnon is accused of serious crimes. But there is also no doubt that he is seriously ill.
"He has Asperger's syndrome, and suffers from depressive illness. The legal question before me is now whether the extent of that illness is sufficient to preclude extradition.
"After careful consideration of all of the relevant material, I have concluded that Mr McKinnon's extradition would give rise to such a high risk of him ending his life that a decision to extradite would be incompatible with Mr McKinnon's human rights."
By Dominic CascianiHome affairs correspondent
The home secretary's decision to block this extradition is extremely significant. She had an obligation under the Human Rights Act to take into account new evidence about Gary McKinnon's health.
The real twist is that this may be the one and only time she blocks an extradition on human rights grounds because she has now pledged to hand that decision to judges, in line with a recommendation in the review she commissioned.
The 2003 extradition deal with the US aimed to speed up extradition and remove political prevarication or interference.
And although the home secretary says the deal is broadly sound, she has accepted one of the main criticisms - that there must be a power to block extradition if someone could be tried in the UK. That will be a major change in extradition law. Critics, including many MPs, will say this reform should have come sooner.
Mrs May also said measures would be taken to enable a UK court to decide whether a person should stand trial in the UK or abroad - a so-called forum bar.
It would be designed to ensure extradition cases did not fall foul of "delays and satellite litigation", she said.
"I believe extradition decisions must not only be fair, they must be seen to be fair. And they must be made in open court where decisions can be challenged and explained," she said.
"That is why I have decided to introduce a forum bar. This will mean that where prosecution is possible in both the UK and in another state, the British courts will be able to bar prosecution overseas if they believe it is in the interests of justice to do so."
Mr McKinnon, from Wood Green, north London, who has been diagnosed with Asperger's syndrome, a form of autism, faced 60 years in jail if convicted in the US.
Mr McKinnon's mother Janis Sharp was delighted with the decision, saying: "Thank you Theresa May from the bottom of my heart - I always knew you had the strength and courage to do the right thing."
His MP, David Burrowes, who had threatened to resign as a parliamentary aide if Mr McKinnon was extradited, welcomed the decision.
Mr Burrowes, Conservative MP for Enfield Southgate in north London, tweeted: "Compassion and pre-election promises delivered today."
BBC legal correspondent Clive Coleman said it was a dramatic decision - the first time a home secretary had stepped in to block an extradition under the current treaty with the US.
Shami Chakrabarti, director of civil rights group Liberty, said: "This is a great day for rights, freedoms and justice in the United Kingdom.
"The home secretary has spared this vulnerable man the cruelty of being sent to the US and accepted Liberty's long-standing argument for change to our rotten extradition laws."
Mark Lever, chief executive of the National Autistic Society, said he was "delighted that the years of waiting are finally over for Gary and his family".
But Labour former home secretary Alan Johnson criticised the decision and claimed Mrs May had made a decision which was "in her own party's best interests but it's not in the best interests of this country".
He said: "Gary McKinnon is accused of very serious offences. The US was perfectly within its rights and it was extremely reasonable of them to seek his extradition."
Shadow home secretary Yvette Cooper asked Mrs May about the implications of her decision: "Clearly other people subject to extradition proceedings or immigration proceedings do cite medical conditions as a reason not to extradite so it would be useful for Parliament and the courts to understand the tests you have applied and whether that will set precedent in other cases."
American lawyer, David Rivkin, a former White House adviser, said the decision was "laughable", adding, "Under that logic, anybody who claims some kind of physical or mental problem can commit crimes with impunity and get away with it."
US extradition expert Douglas McNabb said the US Attorney's Office would be furious and he suspected it would ask Interpol to issue a red notice - making other nations aware there was an outstanding arrest warrant for Mr McKinnon in the US - which would mean he could be arrested if he left the UK.
The family of terror suspect Babar Ahmad said while they welcomed the decision not to extradite Mr McKinnon, questions had to be asked.
By Dominic CascianiHome affairs correspondent
Mr Ahmad was one of five terror suspects, including radical cleric Abu Hamza al-Masri, extradited to the US earlier this month. His co-accused, Talha Ahsan, who was also extradited, was diagnosed with Asperger's in June 2009, according to a European Court of Human Rights judgement.
Both are accused by US authorities of running a pro-jihad website.
Mr Ahmad's family said: "Why within the space of two weeks, a British citizen with Asperger's accused of computer-related activity is not extradited, while two other British citizens, one with Asperger's, engaged in computer-related activity are extradited. A clear demonstration of double standards."
US authorities have described Glasgow-born Mr McKinnon's actions as the "biggest military computer hack of all time" and have demanded he face justice in America.
They insisted his hacking was "intentional and calculated to influence and affect the US government by intimidation and coercion".
The Americans said his actions caused $800,000 (Â£487,000) worth of damage to military computer systems.
Mr McKinnon has previously lost appeals in the High Court and the House of Lords against his extradition, but two years ago a High Court judge ruled Mr McKinnon would be at risk of suicide if sent away.
Earlier this year Mrs May put the decision on hold to allow Home Office appointed psychiatrists to conduct an assessment.
They also concluded Mr McKinnon would be likely to take his own life if he was sent to face trial in the US.
Mr McKinnon was arrested in 2002 and again in 2005 before an order for his extradition was made in July 2006 under the 2003 Extradition Act.


A musical Humber Bridge, a 14th-Century masterpiece, a circus in a cemetery and the Spiders From Mars will be part of Hull's year as UK City of Culture.

The Â£32m programme will take over streets and venues throughout 2017.
Hull will celebrate famous local figures including poet Philip Larkin and director Anthony Minghella.
And it will put the spotlight on unsung heroines like 1940s and '50s boxing champion "Battling" Barbara Buttrick and pioneering musician Ethel Leginska.
Hull 2017 director Martin Green said: "Women's stories come through. It has traditionally been a male-dominated city, quite patriarchal. But we have found at every turn new stories about women."
Hull City Council leader Councillor Stephen Brady said the "explosion of culture and regeneration in this city has not been seen since the 1950s".
At Thursday's announcement of the line-up for the first part of the year, he said winning the City of Culture title had already changed peoples' perceptions of Hull.
"Our vision was to use the city's heritage and culture to create jobs and to put Hull back on the map as one of the great cities of northern England," he said. "That vision is fast becoming a reality."
The year will begin with an outdoor extravaganza from 1-7 January using projections and performances to tell the story of Hull.
Made In Hull will be co-ordinated by Hull-born Sean McAllister, who made Bafta-nominated documentary A Syrian Love Story. He is working with playwright and director Rupert Creed and Durham Marenghi, the lighting designer for the Rio 2016 Olympic opening and closing ceremonies.
Other highlights:
Will the Â£4.5m refurbishment of the city's Ferens Art Gallery in preparation for hosting the Turner Prize in 2017 transform Hull from an underappreciated outpost on England's eastern seaboard into a must-visit destination for tourists of all types? Unlikely.
And what about all the partnerships the city is enthusiastically making with the likes of the Tate, BBC and Royal Shakespeare Company - will they help turn Hull into a vibrant hothouse of creativity in the long-term? I doubt it.
So, isn't it all a bit of waste of money?
I don't think so. I accept the arts festival on its own won't change much. But its very existence might. It has the potential to transform the city.
Read more from Will about Hull 2017
Martin Green said Hull was "one of many cities in the UK that don't get their time in the spotlight".
"So people don't think there are stories to be told and things to be celebrated," he said. "The project of the UK City of Culture, to shine a light on a different city every four years, brings that to the fore.
"There are a great many stories and people you may or may not know.  So my hope by the end of the year is that no-one says 'Hull? Where?', that most people have been or are planning to come, and that we've proved there is a great quality of culture here and it's capable of staging something truly world class."
More events will be announced in due course. The UK City of Culture title is given to a different place every four years. Londonderry was the inaugural City of Culture in 2013.
Follow us on Twitter @BBCNewsEnts, on Instagram, or if you have a story suggestion email entertainment.news@bbc.co.uk.


A mother and her seven children have drawn a field of giant poppies in the sand at Porthcawl beach to mark Remembrance Day.

Deborah Hitchins, 43, took rakes to the beach to make the giant sand field of remembrance.
Ms Hitchins, of Caldicot, Monmouthshire, marks Remembrance Day each year by doing an activity with her children.
"It gives us an important opportunity to open discussion," she said.
Her children Sam, 24, Abigail, 19, Elis, 12, Eden, 11, Mila, seven, Noah, four, and Arabella, 11 months, all joined in.
Ms Hitchins added: "It is important to explain the significance of why we wear poppies and it was a great way of bringing up the opportunity of talking about things around Remembrance Day.
"They were also very proud of their work and it was great to see."


South Sudan rebel leader Riek Machar has said there must be proper negotiations before the rebels can agree to a truce with the government.

He was speaking after the government said it had agreed to an immediate end to fighting, in a declaration welcomed by East African leaders in Nairobi.
Fighting continued on Friday in the oil town of Malakal, Upper Nile State.
The first UN reinforcements have arrived to help control civilians seeking shelter at UN compounds.
About 63,000 people have turned to the UN for help, among more than 121,600 who have fled their homes in the world's newest state. At least 1,000 people have died in the fighting.
President Salva Kiir is engaged in a deadly power struggle with Mr Machar, his former vice-president, since accusing him of a coup attempt. Members of Mr Kiir's Dinka ethnic group and Mr Machar's Nuer community have both been targeted.
The government has freed two of Mr Machar's allies from detention, partially meeting a rebel demand for the release of 11 coup plotters.
US envoy Donald Booth said in Juba he hoped the freed detainees would "participate in a constructive manner in the efforts to bring about peace... and resolve the political issues that sparked this conflict".
Mr Machar spoke to the BBC World Service by satellite phone "from the bush", as he put it.
He said he had a negotiating team ready but any ceasefire had to be serious, credible and properly monitored.
"So until mechanisms for monitoring are established, when one says there is a unilateral ceasefire, there is no way that the other person would be confident that this is a commitment," he said.
He called for the release of all 11 detainees, a key rebel condition for any negotiations.
Mr Machar said the rebels controlled the whole of Unity State, three-quarters of Upper Nile State and all of Jonglei State except the state capital Bor.
He said he had spoken to the two detainees freed in Juba, whom he named as his executive director, Deng Deng Akon, and former Higher Education Minister Peter Adwok.
The government tweeted to say it had agreed "in principle to a ceasefire to begin immediately". Presidential spokesman Ateny Wek told regional broadcaster Radio Tamazuj: "It is not a unilateral offer, but it is a conditional offer to be accepted by the other party."
In Nairobi, South Sudanese Information Minister Michael Makuei Lueth said the government had agreed to suspend a planned offensive to recapture Bentiu, the capital of Unity State.
"We are not moving on Bentiu as long as the rebel forces abide by the ceasefire," he was quoted as saying by the Associated Press.
East African regional leaders meeting in the Kenyan capital Nairobi said they would not accept a violent overthrow of the government and called on the warring sides to meet for talks within four days.
The first UN reinforcements have arrived since the UN Security Council voted to almost double the number of peacekeepers to 12,500.
A detachment of 72 Bangladeshi police officers based in Democratic Republic of Congo arrived by plane in Juba.
They are trained in crowd management and security, and will be deployed immediately to help with the growing number of people seeking shelter at UN compounds.
Violence has continued through the week with conflicting reports on Friday about the situation in Malakal, capital of Upper Nile State, where some 12,000 people have been sheltering at a UN base.
Both the army and rebels claimed to be in control of the town.
According to Radio Tamazuj, government forces drove rebel soldiers out of the town on Friday, shelling them from tanks.
Dozens of houses were destroyed in the fighting, with a tank shell killing a family of four inside one of them, while three dead bodies were found inside another, the radio said.
In another state, Jonglei,  the aid agency Medecins Sans Frontieres (MSF) treated gunshot victims who had walked for three days from the war-torn town of Bor in search of safe access to healthcare.


Scotland has joined the rest of Europe by taking part in a one-minute silence at 11:00 for the dead and injured in the Paris attacks.

A total of 129 people were killed when gunmen targeted bars and restaurants, a concert hall and the Stade de France.
It is understood Friday's attacks were committed by Islamist militants.
First Minister Nicola Sturgeon observed the minute silence at the Central Mosque in Glasgow where she had had a scheduled meeting.
On Sunday, prayers were said at church services in Scotland and a book of condolence was opened at the French Consulate in Edinburgh.
The attacks will be remembered at other events this week, including;
There have been more than 150 raids on militant targets in different areas of France as part of  wide-scale manhunt for surviving members and accomplices of the Islamist group that carried out the attack.
Police had named Brussels-born Salah Abdeslam, 26, as a key suspect. He was reportedly stopped by officers in the wake of the attacks - but then let go.
Following the attacks, the UK government has announced plans for 1,900 extra security and intelligence staff, and more money to assess and improve security at overseas airports.
In new guidance issued by Police Scotland, the public here have been urged to remain alert and vigilant and to report any suspicious activity.
The threat level for the UK remains at "severe" with an attack highly likely, but police said there was "no specific threat to Scotland".
Police Scotland said it had "exercised plans to respond to multi-seated firearms attacks" and may increase its presence in some areas.
However, it urged people not to "become fearful or withdraw from the streets " and go to concerts, sports event, shops and restaurants as normal.
In a statement, Deputy Chief Constable Iain Livingstone also revealed that his officers had dealt with a number of crimes motivated by religious hatred in the wake of the Paris attacks.
He said they have been both online and in public and that "arrests had been made."
He added: "Police Scotland will not tolerate any form of Hate Crime and I urge everyone across the country to continue working together to ensure that no one feels threatened or marginalised."
Two women from Scotland who got caught up in the shootings at the Bataclan Concert Hall have spoken about their escape.
Christine Tudhope and Mariesha Payne said they hid in a cellar for three hours.
Ms Payne, who is from Perth, said: "A second round went off, most people ducked, but I just said run, just get out of here.
"In the confusion if we had gone left we would have instantly been out on to the street and probably the first people out of the building, but just confused we ran right and ended up being in a room that we couldn't get out of.
"There were no exits but we found a door to the cellar, which we just ran into but then realised we were trapped and there was no way out of there."
The women later found that if they had escaped into the street they could have put themselves back into danger because the gunmen were firing at people from the concert hall windows.


Forensic experts are searching an Edinburgh golf course after human remains were found in the grounds of a nearby house.

Three of the 12 holes at Gogarburn Golf Club have been closed since Monday to allow police teams to search the area, following Saturday's discovery.
It is understood body parts were found in two different locations.
The initial find was in the grounds of Gogar Mount House and the other parts were later found a short distance away.
Dave Hamilton, Gogarburn Golf Club greens convenor, said he understood a caretaker at Gogar Mount House found a skull on Saturday and alerted the police.
He said: "On Monday morning detectives arrived and told us they had found a skull in the property next door to us and we knew nothing about it.
"We've closed the top field and we are playing a short course instead of the full course.
"We are helping the police in any way we can."
Police divers are searching ponds on the boundary of the golf course.


The International Criminal Court has ordered that former Congolese militia leader Mathieu Ngudjolo Chui should be freed after he was acquitted of war crimes and crimes against humanity.

The case related to the 2003 killings of 200 residents of Bogoro village in the Ituri region of DR Congo.
The court in The Hague heard reports of victims being burned alive, babies battered and women raped.
Mr Ngudjolo denied ordering the attack, saying he learned of it days later.
He had been charged with seven counts of war crimes and three of crimes against humanity. Prosecutors said he had enlisted child soldiers to carry out the killings. Some of the killings were carried out with machetes.
But presiding Judge Bruno Cotte said the court acquitted Mr Ngudjolo of all charges, saying the prosecution had "not proved beyond reasonable doubt that Mathieu Ngudjolo Chui was responsible" for the crimes committed.
He said the decision was unanimous, and that witness testimony had been "too contradictory and too hazy".
By Jonathan KachelewaBBC News, Eastern DR Congo
Fighting is still going on in the mineral-rich Ituri region. All the different armed groups in the area have formed a coalition. They include Mr Ngudjolo's FNI, which is drawn from the Lendu ethnic group, and its former enemies from the Hema ethnic group.
Some former fighters joined the army during a series of peace deals, but all the others in this region have now joined together. As ever, they are fighting for control of the region's gold mines, as well as for their own protection.
A UN report says the rebels are backed by neighbouring Rwanda, which denies it.
The violence in Ituri was a part of the DR Congo war. It remains overshadowed by fighting elsewhere in eastern DR Congo. Some 50,000 people were killed in the province in four years before the European Union sent a peacekeeping force in 2003 - its first mission outside Europe.
Mr Ngudjolo showed no emotion at the acquittal, according to the Associated Press news agency. His lawyer, Jean-Pierre Kilenda, said his client had always insisted he was innocent.
In its summary, the court stressed that the ruling did not mean it believed no crimes were committed in Bogoro "nor does it question what the people of this community have suffered on that day".
"The chamber also emphasised that the fact of deciding that an accused is not guilty does not necessarily mean that the chamber finds him innocent," the ICC said in a statement.
"Such a decision simply demonstrates that, given the standard of proof, the evidence presented to support his guilt has not allowed the chamber to form a conviction 'beyond reasonable doubt'."
Judge Cotte ordered Mr Ngudjolo's immediate release, and rejected prosecutor Fatou Bensouda's attempts to have him detained pending an appeal.
"The chamber dismisses the prosecution's application for further detention," Judge Cotte said, adding that there were "no exceptional circumstances" to detain Mr Ngudjolo further.
Human Rights Watch said the verdict "leaves the victims of Bogoro and other massacres by his forces without justice for their suffering".
"The ICC prosecutor needs to strengthen its investigations of those responsible for grave crimes in Ituri, including high-ranking officials in Congo, Rwanda and Uganda who supported the armed groups fighting there," said Geraldine Mattioli-Zeltner, the group's international justice advocacy director.
The Coalition for the ICC, a campaign group that monitors the court's work, said the verdict was "a hard blow for the victims and affected communities who had placed all their hopes in the Court to deliver justice, considering the great harm they suffered during the ethnic war in Ituri".
The verdict is only the second in the 10-year history of the ICC, and the first acquittal.
In March, Congolese warlord Thomas Lubanga, Mr Ngudjolo's enemy in Ituri, was found guilty of recruiting and using child soldiers between 2002 and 2003. He was sentenced to 14 years in jail.
The conflict in Ituri was a distinct part of the war that raged in DR Congo following the 1994 genocide in neighbouring Rwanda and involved troops and fighters from several neighbouring countries.
Militia leaders from all sides have been accused of using the conflict to profit from the region's mineral reserves, especially gold.


US rock musician Alice Cooper has found a classic Andy Warhol artwork rolled up in storage after more than 40 years tucked away alongside tour equipment.

The singer had forgotten about the work, entitled Little Electric Chair, presented as a gift in the 1970s.
"It was a rock 'n' roll time, none of us thought about anything," Cooper's long-time manager, Shep Gordon, said.
A similar version of the Warhol artwork sold at Christie's in New York in 2014 for $10.5m (Â£8m).
Cooper's find, a red silkscreen on canvas, was part of Warhol's Death and Disaster series and was discovered "rolled up in a tube" in a locker along with a collection of 1970s stage props, Mr Gordon told BBC Radio 5 live.
It was the decade that Cooper and Warhol met and became friends. "It was all a swirl of drugs and drinking," said Mr Gordon, who has been the singer's manager for more than four decades.
Cooper, real name Vincent Furnier, moved to New York with his late girlfriend Cindy Lang, where they were introduced to Warhol and spent time together in New York's famed Studio 54 nightclub, according to Mr Gordon.
Ms Lang, who appeared on the second cover of Warhol's magazine Interview, later asked Mr Gordon to purchase the work on her behalf for about $2,500 as she planned to present it to Cooper as a birthday gift.
"He was a very heavy drinker in those days," Mr Gordon told the BBC, adding that Cooper's career was "like a rocket ship taking off back in the early 70s - he was working 100 shows a year".
Mr Gordon said the rock singer was "getting electrocuted" at the time in his live shows using a prop electric chair that looked "very much" like the chair in the painting.
He said that Cooper later entered rehab as a result of his drinking and "never really moved into his apartment in New York". The painting, he said, was forgotten.
"Nobody really ever thought about it, life went on," Mr Gordon said.
Years later, Mr Gordon was having dinner with friends, one of whom happened to be an art dealer, when the conversation turned to a piece of work by Warhol that had sold for a large sum.
"So I got hold of Alice and I said: 'Do you still have that Warhol?' And he said: 'I don't think so'."
Mr Gordon said it was months before they tracked it down to the storage facility. "And then we found a tube, like the type you keep posters in, and there it was - oops!"
He said that back in the early 1970s the artwork was not considered particularly valuable. "Andy Warhol was not 'Andy Warhol' back then," he said.
The artist died in 1987 at the age of 58.
In an interview with the Guardian, Mr Gordon said that Cooper had a vague recollection of discussing the artwork with Warhol.
"He thinks the conversation was real, but he couldn't put his hand on a Bible and say that it was," Mr Gordon said.
The work has been confirmed as authentic by Warhol expert Richard Polsky.
"You should have seen Alice's face when Richard Polsky's estimate came in," Mr Gordon said, adding: "His jaw dropped and he looked at me: 'Are you serious? I own that!'"


Crewe Alexandra are looking at other options after being unable to meet with ex-Manchester United star Wes Brown.

The Alex had hoped to sign the former England international defender, 37, after he was released by Blackburn.
"He was supposed to come in and speak to us," assistant manager Kenny Lunt told BBC Radio Stoke. "He never did come in. It would have been nice to sit down with him."
Meanwhile, defender George Ray, 23, has signed a two-year contract.
Ray made his 100th appearance for the club on the final day of last season and his new deal runs until June 2019.
Lunt, talking about missing out on Brown, added: "We've moved on and we're now looking at different options.
"I wouldn't say there's no chance [of signing him] but we've got a list of players that we're looking at."
League Two side Crewe have signed one new defender this summer, Michael Raynes from Carlisle United, but they have lost Jon Guthrie to Walsall and Ollie Turton to Blackpool.


West Brom's £15m move for West Ham striker Diafra Sakho is off because the player has a back problem.

It is understood the Senegalese did not fail his medical but he would not have been fit for the start of the season.
Sakho, 26, scored 15 league goals in 44 appearances for West Ham, although he has suffered several injury problems.
His likely arrival had added to speculation that the club would sell striker Saido Berahino, 23, who is a target for Crystal Palace and Stoke.
The Potters have offered £17m with £3m in add-ons for the England Under-21 international - a fee which is close to West Brom's valuation of the striker.
However, with the Sakho deal now off, Berahino will be remaining at the club.
Never want to miss the latest West Brom news? You can now add the Baggies and all the other sports and teams you follow to your personalised My Sport home.


A Perthshire primary school could be mothballed for the new school year after being left with no pupils.

The school roll at Trossachs Primary in Brig o'Turk fell from five to zero at the end of last term.
The future of the Victorian school now lies in the hands of the local authority, Stirling Council.
Its education committee will discuss a proposal to close the school temporarily pending a final decision on its long-term future.
The school, which opened in 1875, has one classroom and shares its headmistress with the 10-classroom primary school in Callander, less than seven miles away.
A Stirling Council spokesman said: "As there are no children enrolled to attend Trossachs Primary School after the summer holidays, and following discussions with local parents, a report will be taken to next week's education committee to propose that it be mothballed for school session 2016/2017."
Last term, the remaining pupils were offered some lessons at Callander.
Local councillor Martin Earl said: "No one wants to see any schools close but when pupil numbers get as low as they have at Trossachs Primary School, the parents must make decisions that are in their children's best interests and if that is addressed by moving to another, larger, school then no other criteria is relevant."


Hundreds of Muslims gathered in Birmingham to condemn the Westminster terror attack, which organisers vowed "will not define us".

Families, students and mosque leaders joined the #notinmyname demonstration, in the city centre.
Former government diversity advisor Dr Waqar Azmi, told them: "For far too long now we have had terrorists from all countries trying to define us.
"We refuse to allow them to represent us. This is not in our name."
Khalid Masood killed four people and injured 50 when he drove a car into pedestrians on Westminster bridge before stabbing PC Keith Palmer on Wednesday.
The 52-year-old, who was born in Kent, had most recently been living in Birmingham and, with seven people from the city arrested in the wake of the killings, much has been made of the area's links to terrorism.
But, former councillor Salma Yaqoob, who helped organise the demonstration, told the crowds the city did not deserve such a reputation.
She spoke of the fatal stabbing of MP Jo Cox by Thomas Mair, in Birstall, West Yorkshire.
"No one asked the question, 'What's wrong with Yorkshire, producing these terrorists?'
"Stop bashing Birmingham, and stop bashing Muslims," she added, to a huge round of applause.
It was organised by the Muslim community, but the rally attracted people from a range of faiths.
Recalling the events outside Westminster on Wednesday, Mona Elshazly said she had wondered how to tell her daughters, aged five and six, what had happened.
"We talk about things as a family. I picked them up from school, and I told them that a police officer had been stabbed trying to save people.
"They were sad. They like the police. They visit them in school." It was enough for her youngest daughter to pen PC Palmer a letter, which Ms Elshazly, 37, carried on her placard in Victoria Square alongside her eldest's tribute to Aysha Frade, who died after being hit by the car Masood drove.
"We are here to show solidarity," said the mother of two. "It doesn't matter about religion - we are all human.
"We must come together as a community, we are stronger. These crimes are like a disease and together, we are the immune system."
Yasser Siddique, 32, of Alum Rock, said: "What has happened, it is not from the teachings of Islam. These people are brainwashed.
"It does worry me that Birmingham is getting a bad reputation. But I think we can do more as a community and speak to faith leaders and the police.
"The faith leaders need to do all they can to educate and show the true message of Islam."
The event took place after more than 200 mosque and community leaders in the West Midlands signed an open letter condemning the attacks.
It reads: "We in the Muslim community were shocked and saddened by the hatred we saw in the attack at the heart of our democracy.
"As a community we stand united in condemnation of those who sought to bring fear and division to the UK through this terrorist act.
"Now more than ever, it is crucial for community and faith leaders from across this diverse city to stand united against hatred and division."


Four men accused of attempting to smuggle 35 immigrants into the UK in a shipping container treated human beings as "freight", a court has heard.

Meet Singh Kapoor, 40, was found dead in a shipping container at Tilbury docks in Essex in August last year.
Stephen McLaughlin, Timothy Murphy, Martin McGlinchey and Taha Sharif have all pleaded not guilty to conspiracy to facilitate illegal entry into the UK.
Jurors heard the migrants were found distressed and in cramped conditions.
The group of Afghan Sikh migrants, which included 15 children, arrived in the UK on a ship from Belgium on 16 August. They are believed to have fled Afghanistan after suffering persecution.
A prosecuting lawyer told Basildon crown court on Wednesday that the accused were part of a "large and organised" smuggling syndicate that had attempted to break UK immigration laws on at least one previous occasion.
"This operation involved effectively smuggling human beings into this country as freight," the lawyer said.
Mr McLaughlin, 34, of Limavady in Londonderry was arrested on 20 August by police in Northern Ireland.
Mr Murphy, 33, of Elmgrove, Londonderry attended an Essex police station.
The two other men, Mr McGlinchey, 47, of Derryloughan Road, Coalisland, County Tyrone and Taha Sharif, 38, of High Cross Road, Tottenham, were also detained in connection with the case.
The prosecutor said the second smuggling attempt was uncovered when dock workers heard noises inside the container after it arrived on a ship from Belgium.
"The police broke the seal and rear doors and the 35 illegal entrants were found on board in a distressed state," he told the court.
"They were found to be suffering from breathing difficulties and other difficulties having been locked in a confined space since the previous day.
"One of the people had died during the crossing overnight."
The lawyer said the defendants had taken huge risks but had a "substantial financial motive".
All of the immigrants are now claiming asylum in the UK, the court heard.


People with learning disabilities should be allowed to work for less than the minimum wage, says Rosa Monckton, a close friend of Princess Diana.

Miss Monckton, whose youngest daughter has Down's Syndrome, said that unless the law changed, they would be denied the human dignity that comes with work.
Writing in the Spectator, she said she wanted to see a "therapeutic exemption" for disabled workers.
Charity Mencap said it was important for business to create the right roles.
About 1.4 million people in the UK have a learning disability, of whom just 6% are in paid work, Health and Social Care Information Centre data from 2015 shows.
Miss Monckton wrote: "Services are closing, and day centres barely exist any more, so what lies ahead for people like my daughter?
"Unless the law changes, they can expect a life spent in the shadows, slumped on a sofa, eating the wrong sort of food, watching daytime television.
"This is not about the right to a minimum wage, it is about the right to have the human dignity that comes with work, and with being included."
From April, the minimum wage goes up to £7.05 an hour for 21 to 24-year-olds, and £7.50 an hour for workers over 24.
Miss Monckton said the ratcheting up of this was the single thing that made it most difficult to get people with learning difficulties into work, but raising the subject was considered "brutish and inhumane".
Speaking to the BBC, Miss Monckton said: "I'm not saying they can't be paid the minimum wage. I'm saying there shouldn't be a legal obligation to do so.
"The rules are there to prevent people from being exploited but... there should be separate rules for people with learning disabilities... based on self-worth, on the feeling that you have got somewhere to go to when you get out of bed in the morning."
She added: "It has become an extremely controversial subject. It absolutely shouldn't be. It should be a given that people with learning difficulties have an equal chance to get into employment and the thing that is preventing them... is the minimum wage."
In 2011, Conservative MP Philip Davies told Parliament that disabled people should work for less than the minimum wage during a debate on the Employment Opportunities Bill.
His remarks were condemned as "outrageous and unacceptable" by a select committee chairwoman and "a preposterous suggestion" by a charity.
But in her Spectator article Miss Monckton said that it was "so obvious" to most parents in her position that a "therapeutic exemption" from the minimum wage would have a "transformative effect".
"In practice, money isn't the real point.
"People with a learning disability may still be living with their parents.
"Very often they have no understanding of money," she added.
"They want to work so as to have a fulfilling and purposeful life."
She described how her daughter, whose godmother was Princess Diana, once asked if she could now go to New York after being given a £5 tip.
Mencap, a charity for people with a learning disability, disagreed that the main barrier to getting work was the minimum wage.
Educating and working with employers to create the right roles was the most important factor, said Dan Scorer, head of policy.
"With the right training and support, people with a learning disability can be valued employees whose work is of the same value as anyone else."
He added that current employment support was "completely inadequate" and the government has a lot to do if it is to improve the "appallingly low levels of employment" of people with a learning disability.
The trade union, Unison, said people with learning disabilities benefited from good quality jobs like anyone else, and insisted no-one should get less than the minimum wage.
"Employers must be encouraged to take them on, but not on scrooge wages," the union's equalities officer, Lucille Thirlby, said.
Miss Monckton set up a charity last year after she found there was nothing for her child to do after leaving college.
Team Domenica, named after her daughter, runs a course in supported employment as well as a cafe open to the public and an on-site business, both of which are staffed by people with learning difficulties.


The discovery of an Iron Age settlement has forced a re-think of the early history of the south of Scotland.

Archaeologists believe that the group of round houses found in Dumfries and Galloway date back to the fifth century BC.
It proves that people lived in Wigtownshire long before Ninian set up a church at Whithorn in 397AD.
Local volunteers have joined experts in a three-week long excavation of the site at Black Loch of Myrton.
Julia Muir-Watt, of the Whithorn Trust, said the discovery of the round houses has had a significant impact on the accepted history of the region.
She said: "We are looking at a complete re-writing really of the early history of Whithorn and indeed southern Scotland.
"We think there is a very different history to the way Christianity came to southern Scotland.
"We originally thought that Ninian came to an empty area where he founded a church and now we think there was a strong native community, potentially a high status secular site where Christianity came because people converted.
"And so we're very interested in finding out about the peoples who lived here long before the Christian period."
The site under excavation was originally thought to be the site of a lone crannog, an ancient loch dwelling.
During a dig in 2013 however, the archaeologists said they made a "spectacular" find.
They claimed to have discovered the best-preserved loch village known in Scotland, comparable with sites in Glastonbury and Meare in Somerset.
The current excavation is the third at the site since 2010. It is being led by Graeme Cavers, of AOC Archeology.
He said: "It's very rare for us to find something like this which is effectively just a roundhouse built on to the bog itself without any foundations at all.
"It looks like there has been seven or eight of these buildings, and very possibly more.
"The traces we can see on the surface are really just mounds but we take it that these are signs of other buildings on the settlement."
He added: "This is very early Iron Age so we are dealing with quite settled farming communities so these people would have been farming these fields around them, they would have had herds of livestock which they would have been managing as well.
"[They were] settled, quite sophisticated communities with the landscape very much in hand agriculturally."
One of the volunteers taking part in the excavation was John Picken, a former curator of Stranraer museum.
He said: "What I am digging is compressed leaf litter. What they must have done is put down these layers of reeds and leaf and over the centuries it's got compressed to make this wonderful hard surface.
"Digging it, we just peel it off and beneath it the original woodwork just appears. It looks almost like it's been laid yesterday."
During the current project, the team has excavated about a quarter of one round house.
With evidence of several more, there is the potential for much more work for archaeologists.
Ann Crone, of AOC Archaeology said: "There is a lot more here to explore and the preservation is so good that any investment in further excavation is going to yield fantastic results but at the moment I don't know how long it will go on for."


The agency managing an Indian government Twitter account has been asked to explain after it tweeted an inflammatory poem about Kashmir.

The poem, which appears to ask soldiers to shoot protesters in the Indian-ruled territory, went viral after being tweeted by the Digital India account.
It was later deleted but not before being retweeted by several people, including an opposition politician.
A Twitter user, Sarthak Garg, owned up to the "mistake" and apologised.
His message was retweeted by Digital India itself.
The agency has been warned it may lose its contract, a government official told the BBC.
He added that they had apologised for the incident.
The Hindi-language poem told the army to "lock the doors so no one could escape" and said "those who do not like it here can go graze buffaloes in Pakistan".
It made headlines in India, with many expressing shock.
Kashmir is claimed in its entirety by both India and Pakistan and has been a flashpoint for more than 60 years, sparking two wars between the countries.


An arrest has been made by detectives investigating a fatal gun attack in Dublin in which one man died and another was injured.

The double shooting at a youth project in Clonsilla was reportedly carried out by a man who was dressed as a woman.
GardaÃ (Irish police) were called to the scene on Shelerin Road shortly after 18:00 local time on Friday.
A 32-year-old man was arrested in County Meath on Saturday morning and taken to Blanchardstown Garda station.
Irish broadcaster RTÃ‰ has reported that the 36-year-old who died after the attack "may not have been the intended target".
He was father-of-two Keith Walker from Tir Na Ri Road in Clondalkin in Dublin.
The second victim, who was shot in the arm, is being treated in Connolly Hospital, Blanchardstown, for non-life threatening injuries.
It is understood the men were members of a pigeon club who were meeting in a yard.


Three people have died in a suspicious fire that tore through an abandoned factory in Melbourne, Australia.

Firefighters were called around 23:30 (12:30 GMT) on Wednesday after reports of an explosion.
It took them 40 minutes to extinguish the blaze before finding three bodies inside. Local media say the victims are believed to be two men and a woman.
The factory was often used as a shelter by homeless people.
Arson experts will investigate the cause of the fire, police said.
One witness, taxi driver Mohamed Ali, said he had heard screams coming from the factory in Footscray, in the city's west.
"A few minutes later I saw the fire engines come," he told the Australian Broadcasting Corp.
"For me, it's a horrible situation because we couldn't help. I haven't seen anything like this in my whole life. I'm not feeling good."
Prominent Melbourne youth worker Les Twentyman said homeless people often took refuge at the site.
"There is a little alcove near the car park - people sleep in that little alcove,'' he told the Herald Sun.
"It just shows how desperate they are."
The site was originally Victoria's largest ropeworks and operated from 1903 to 2002. After the factory shuttered, the state government backed plans to build a large apartment complex on the site.


A police car has crashed while responding to an emergency call on Anglesey.

North Wales Police said the incident involved just one vehicle on the B5111 in Coedana, Llanerchymedd at about 17:30 BST.
The road has been closed and diversions are in place.
Two police officers are being treated for minor injuries at Ysbyty Gwynedd in Bangor.


A woman has admitted murdering a friend in a frenzied attack at her home in Glasgow.

Danielle Watson, 29, left her 49-year-old neighbour Edward Bennett with black eyes, bleeding on the brain, 18 rib fractures and broken bones in his neck.
During the attack in November last year, she also strangled Mr Bennett with a scarf and rammed scouring pads down his throat, blocking his windpipe.
Watson faces a mandatory life term when she is sentenced next month.
The High Court in Glasgow heard that the murder took place in Watson's home in Crowlin Crescent, in the Cranhill area of the city, on 6 or 7 November.
During the attack, Watson, who is slightly-built and under 5ft tall, also stamped on father-of-four Mr Bennett, leaving impressions of her footprints visible on his body.
Advocate depute Leanne Cross, prosecuting, said: "A post-mortem examination revealed evidence of severe blunt traumatic injury to multiple body regions, including the neck, chest, back and his airways were blocked as two sponges or scourers were found tightly placed within his throat area."
The court heard that in the early hours of 7 November, Watson texted her cousin saying: "I need sum where 2 run just now I've done summit awful."
When she was asked what she had done she replied: "Murder."
At about 08:15, while Mr Bennett lay dead in her living room, Watson was caught on CCTV footage at a shop in Cranhill chatting and laughing with staff as she bought cigarettes and a lighter.
Watson then returned to her flat and confessed on the phone to her parents that she had murdered someone and he was lying on her living room floor.
Minutes later she took a taxi to her aunt's house. As soon as she got in the door she said, referring to the black scarf she was wearing: "I'm going to take that off my neck, I strangled him with that."
Ms Cross said that Watson told her parents, who arrived at her aunt's house, that she had strangled him "because he got fresh with me".
When she was arrested, Watson later told police: "I know I am a violent person, but I didn't think I was capable of being this violent."
The court heard that she has a number of previous convictions in both Scotland and England, including crimes of violence.
Solicitor advocate Murray Macara, defending, said: "One of the main reasons Miss Watson has taken the step of pleading guilty at this stage is to spare the family the ordeal of a trial. Though that will be of scant consolation to them."
Judge Lord Turnbull deferred sentence on Watson until next month, when he will decide the minimum term she must serve before she can apply for parole.


A Â£330,000 project to improve the A590 in south Cumbria by installing new safety barriers begins later.

The Highways England scheme will take place between Low Newton junction and Meathop roundabout near Grange-over-Sands.
Resurfacing, drainage and sign improvements will also be carried out near the Brettargh Holt roundabout.
The work is due to be finished on 20 December and will involve some overnight closures.


A register of animal abusers could help prevent offenders going on to commit violent crimes against people, Aberavon MP Stephen Kinnock has said.

He backed calls by the RSPCA for a log of those convicted and disqualified from keeping animals.
The charity said 11 people were prosecuted for breaching a ban in the last three years - and they believe the figure could be higher.
The UK government said it feared a public register could help vigilantism.
But the RSPCA said it would allow pet shops and rehoming centres to carry out a simple background checks on prospective buyers.
Mr Kinnock said he backed the RSPCA's calls following a case in his constituency where a teenager was sent to a young offenders institute after he stole cats from an animal sanctuary to use as "live bait" for his dogs.
It came two weeks after the 18-year-old was sentenced in a youth court for killing a sheep.
Mr Kinnock said: "I think it would be useful to have a register, perhaps something at least that pet shops would have access to, so someone like this would be prevented from having a pet and from buying an animal to keep as a pet in the future."
He said he had written to the Department of Environment, Food and Rural Affairs (Defra) to ask why there was not already a register.
"They told me that they don't have a register because they're worried about data protection issues," he said.
"Well, quite frankly, I don't think that's good enough."
He added: "I believe people who abuse animals are, I think, more likely to potentially go on to commit crimes - violent crimes - against a person, against people.
"And so, therefore, it would be very good from a crime prevention point of view to keep a register so that we can have zero tolerance of abusing animals and also as a way of then tracking people who could potentially go on to commit violent crimes against other human beings."
Jenna Satterley told BBC Radio Wales' Good Morning Wales she approached politicians with the idea of a register after being shocked by news stories of animals being abused in Wales.
Her petition calling for action has received support from more than 224,000 people.
"Somebody needs to stand up and say something publically and work on getting new laws implemented or old laws updated," she said.
Defra said people convicted of animal cruelty or abuse were already logged on the Police National Computer but added the UK government felt there needed to be better sharing of information on existing databases.
"The government agrees with the police that a publicly available register of animal abusers could facilitate vigilantism," a spokesman said.
"Instead, if a person has concerns about another individual they can approach the police who can check their records on the Police National Computer. The police may then take the most appropriate action.
"We consider that this is the best arrangement."


The US State Department is to restart its investigation into Hillary Clinton's handling of classified material when secretary of state.

The likely Democratic presidential nominee learned this week that she will not face criminal charges over her use of private email.
The FBI said that although she had sent and received sensitive material there was no evidence of intent.
Now that inquiry is over, the State Department will reopen its review.
As well as the former secretary of state, it will also include some of her former aides, all of whom have now left the department.
Hillary Clinton - and some of her most trusted senior advisors - will twist in the wind a while longer. The State Department's renewed inquiry into possible mishandling of classified information in emails is not nearly as serious as the recently closed FBI criminal investigation, but it keeps the email server story alive for an indeterminate period of time.
While the most serious consequence - loss of security clearance - seems impossible (bordering on absurd) to enforce on Mrs Clinton were she to be elected president, it could prevent her from placing any affected staff into high levels of her administration.
And, needless to say, any sort of administrative sanction Mrs Clinton or her staff receives - such as an official letter of reprimand - would instantly become a political weapon in the hands of her Republican adversaries.
Shortly after FBI Director James Comey announced he would recommend no criminal charges against Mrs Clinton, her campaign issued a press release saying they were glad the matter is resolved.
So much for that.
A spokesman for the department, John Kirby, said: "We will aim to be as expeditious as possible, but we will not put artificial deadlines on the process."
Former officials can still face "administrative sanctions," he said.
That could range from counselling and warnings to the revocation of security clearances.
Republican critics of the FBI decision not to recommend Mrs Clinton be prosecuted said this showed that she was above the law.
But FBI Director James Comey defended himself in front of a House committee on Thursday, reiterating that no reasonable prosecutor would recommend charges.
Mrs Clinton, who will be officially made her party's nominee later this month, was secretary of state until early 2013.


A new rock trap is to be constructed at Edinburgh Castle.

The permanent structure will replace a temporary barrier which has been in place since 2013.
Work on the trap is a collaboration between Historic Environment Scotland (HES) and the City of Edinburgh Council.
Construction will begin on Monday and is scheduled to last until March 2016. The trap consists of a wall about 3ft (1m) high, topped with metal railings.
HES director of heritage management Barbara Cummins said: "It's important that the public are assured that we have no immediate concerns regarding the rock face, however as impenetrable as the castle rock might appear, it's not immune to the effects of the weather.
"The constant freeze and thaw during the winter months can open up cracks in the rock face, which then allows a plant known as valerian to take root.
"Once this germinates the bulb expands and, over long periods of time, this process can cause rocks to fracture and fall."
There will be some traffic and parking restrictions on Johnston Terrace while the work is carried out.
Ms Cummins added: "At the moment we have a temporary structure in place which offers significant protection, and we supplement that by having our highly trained staff abseil down the rock on a regular basis to carefully remove loose fragments from the surface.
"Whilst these measures help to minimise the risk of rock falls, the regular monitoring and scaling is time consuming and ultimately disruptive to visitors to the castle and drivers on Johnston Terrace, which has to be closed whilst work is being carried out.
"The new rock trap will enhance our current risk control arrangements and reduce disruption in the process."


Cue Card will bid to make amends for a late fall last year when he lines up for the Cheltenham Gold Cup on Friday.

The popular steeplechaser, under the guidance of trainer Colin Tizzard, will have stablemate Native River among his rivals.
A strong Irish challenge includes the two-time runner-up Djakadam who bids to secure a first win for trainer Willie Mullins.
Outlander, for in-form Gordon Elliott, and Sizing John are other contenders.
Lizzie Kelly on Tea For Two will be the first woman to ride in the race for 33 years.
A sell-out crowd of about 60,000 is expected for jump racing's showpiece event where runners negotiate 22 fences over three-and-a-quarter miles.
Jockey Paddy Brennan said in an interview published earlier this week he "wanted to die" after Cue Card fell three fences from the finish in last year's Gold Cup won by Don Cossack.
Cue Card was disputing the lead and missed out on a potential £1m bonus for winning the race.
Now aged 11, the popular horse has gone on to win a third Betfair Chase at Haydock this season, before losing out to stablemate Thistlecrack in the King George VI Chase on Boxing Day and winning at Ascot in February.
Brennan will be on board again, while champion jockey Richard Johnson partners Native River, winner of the Hennessy at Newbury, the Welsh Grand National and February's Denman Chase at Newbury.
Tizzard, whose long-time Gold Cup favourite Thistlecrack was ruled out with injury last month, said he has no preference for his hopefuls.
"There is no way I would want one horse to win more than the other," said the 61-year-old, who trains on the Somerset/Dorset border.
"All I want them to do is run their races, come back fit and sound and may the best horse win."
Kelly will become the first woman to ride in the race since Linda Sheedy pulled up the rank outsider Foxbury in 1984.
"It's very interesting and a great privilege, but I see myself just the same as everyone else," said the 23-year-old Kelly who is used to making headlines.
Media playback is not supported on this device
She became the first female rider to win a Grade One race over jumps, with Tea For Two at Kempton in December 2015.
"If people look at me and think they'd like to do the same, that's great," said Kelly, who rides for her stepfather trainer Ian Williams and has been working as a pundit on BBC Radio 5 live this week.
"I appreciate a lot of girls don't have the support I've had but if you're good enough, you'll get the opportunities.
"I'm very excited and looking forward to it. I've looked back at old videos and seen different ways of winning a Gold Cup and have my plan. I think we've got a good chance of a place."
The 2017 Festival turned into a winning one for Mullins on Thursday after the usually dominant Irish champion trainer had suffered disappointments on the opening two days, including the shock defeat of Queen Mother Champion Chase favourite Douvan.
He has saddled the runner-up of the Gold Cup six times but has yet to taste victory, and will be hoping for a change of luck.
Djakadam has chased home Coneygree and Don Cossack in the past two Gold Cups.
But he has enjoyed a better preparation this time and is expected to go well for the Festival's all-time leading jockey Ruby Walsh, who rode a four-timer for Mullins on Thursday.
In contrast to Mullins, Elliott is enjoying a successful week and seeks to follow up Don Cossack's 2016 win with Outlander this time.
Jessica Harrington saddles her first runner in the race - Irish Gold Cup winner Sizing John - with Henry de Bromhead represented by Champagne West.
Jonjo O'Neill runs More Of That and Minella Rocco, while Bristol De Mai, Saphir Du Rheu and two of last year's finishers - fifth-placed Irish Cavalier and Smad Place (eighth) - complete the field.
Andrew Thornton, winning rider on Cool Dawn in 1998
"Every jockey dreams of riding in the Gold Cup. If you're on something you fancy, you'll have it mapped out weeks before.
"You get down to the start and you're on your own with the plan you've devised. You try to get a clear passage and get the horse jumping well and after that you're in the lap of the gods.
"To win it was the best thing that ever happened in my career.
"Ruby Walsh and Willie Mullins have had a quiet Cheltenham so far but it could be their year with Djakadam. He handles the track and occasion and has had an uninterrupted preparation."


Surrey Storm coach Tania Hoffman says British netball's profile is improving but is still "10 years behind" some other countries.

Hoffman was named Storm coach in September, having been an assistant at New Zealand side Central Pulse.
Defending champions Surrey are top of the Superleague table after winning their five opening games this season.
"What's pleasing to see is that there is more netball on television," Hoffman told BBC Surrey.
"It's particularly pleasing for [shooter] Megan [Craig] and myself is that our games have been shown in New Zealand.
"I suppose that just shows how much New Zealand love their netball, but I can't see that happening with the ANZ [Australia and New Zealand] Championships starting this week, I don't think that will be shown on TV here."
Hoffman also said she believes British players are "more passionate" about the sport, because of its amateur status.
"There's still a long way to go for netball in the UK - in terms of what's happening around the rest of the world," she added.
"But they're getting there slowly and England Netball are really pushing the others teams as well, but I think we're still 10 years behind here."


The police watchdog has said it is investigating complaints against 42 South Yorkshire Police officers over the handling of child sexual exploitation in Rotherham.

The Independent Police Complaints Commission (IPCC) said it was looking into more than 100 allegations.
It said complaints had been made against 42 named officers and a number of "unknown" officers.
The complaints include allegations of neglect of duty and of corruption.
In a statement the IPCC said its investigation had "expanded" since it announced in November it was investigating 10 officers involved in incidents highlighted in Professor Alexis Jay's report into child sexual exploitation (CSE) in Rotherham.
The Jay Report, published in August, found the abuse of 1,400 children in the town over a 16-year period was ignored by agencies.
The IPCC said: "Since that announcement we have received 30 complaints relating to South Yorkshire Police's handling of CSE in Rotherham.
"The complaints contain more than 100 allegations against 42 named police officers, both retired and serving, as well as a number of allegations against officers whose identities are currently unknown.
"Work to establish the identity of the unknown officers and to identify any links between the different complaints and incidents is ongoing.
"The allegations range from neglect of duty by failing to adequately investigate on the basis of intelligence or to deal with incidents appropriately, inappropriate comments and suggestions of corrupt relationships between police officers and offenders."
It said it was also investigating a claim that South Yorkshire Police "failed to act on information passed to them in 2004 and 2006 about alleged child sexual exploitation in Sheffield", in relation to two named officers who are now retired.
In a statement, the force said: "South Yorkshire Police has referred a number of allegations to the Independent Police Complaints Commission (IPCC) in relation to child sexual exploitation in Rotherham.
"We remain committed to assisting them with their independent investigation into any alleged misconduct."


Did you know that more than one million Brits live abroad in other parts of the European Union, such as Spain?

14 June 2016 Last updated at 06:43 BST
The UK is part of a club of 28 countries called the European Union, or EU. They agree to make it as easy as possible to travel around, live and work in other EU countries.
Next Thursday there's a huge vote on whether the UK should stay in, or leave, the EU.
So there's a big debate over what that decision might mean for British people living abroad.
Naz has travelled to the Costa del Sol in Spain to find out what life is like for British children there and what they think.


Scientists might have found the root cause of vision problems that affect some astronauts.

Some spacefarers who stay in orbit for long periods develop blurry vision along with a suite of physical changes.
Now, a team of researchers says that the syndrome might be related to changes in the clear fluid which surrounds the brain and spinal cord.
The results from a small sample have been presented at a scientific meeting in Chicago, US.
Over the last decade, flight surgeons and scientists at Nasa have seen a pattern of vision problems in astronauts on long-duration space missions.
The syndrome, known as visual impairment intracranial pressure (VIIP), has been reported in nearly two-thirds of space explorers after long periods spent aboard the International Space Station (ISS).
"People initially didn't know what to make of it, and by 2010 there was growing concern as it became apparent that some of the astronauts had severe structural changes that were not fully reversible upon return to Earth," said lead author Noam Alperin, from the University of Miami.
In addition to blurry vision, the astronauts exhibited flattening at the back of their eyeballs and inflammation at the head of the optic nerve.
One idea is that the changes have been largely due to shifts in fluid occupying the body's vascular spaces. This moves towards the upper body when astronauts spend time in space.
But Prof Alperin has been looking at another potential source of the problems - the cerebrospinal fluid. This helps cushion the brain and spinal cord, and can accommodate the changes when a person moves from a lying to a standing position.
"In space the system is confused by the lack of the posture-related pressure changes," Prof Alperin explained.
The team performed high-resolution MRI scans before and shortly after spaceflights for seven long-duration astronauts.
They compared the results with nine astronauts who flew into orbit for short stints on the space shuttle.
The results showed that long-duration astronauts had significantly greater post-flight increases in the volume of CSF within the bony cavity of the skull that holds the eye, and also in the volume of CSF in the cavities of the brain where the fluid is produced.
The sample size is small, and the results have not yet appeared in a peer-reviewed journal. But Prof Alperin says the research points to a "primary and direct role of the CSF in the globe deformations seen in astronauts with visual impairment syndrome".
"If the ocular structural deformations are not identified early, astronauts could suffer irreversible damage," he said, "as the eye globe becomes more flattened, the astronauts become hyperopic, or far-sighted."
Prof Alperin has received a $600,000 grant from Nasa to study the condition.
He outlined the findings at the annual meeting of the Radiological Society of North America (RSNA) in Chicago.


A woman battered and tortured to death "begged her teenage attackers for mercy", a court has heard.

Angela Wrightson was found dead and half-naked by her landlord at her home in Hartlepool in December 2014.
The 39-year-old had suffered "well in excess of 103" injuries, including 80 to her face, and her living room was splattered with blood.
Two girls, then aged 13 and 14, deny murder. The older girl has admitted manslaughter, Leeds Crown Court heard.
A friend of the younger girl, giving evidence by videolink, said the defendant had told her Ms Wrightson had said "please stop, I'm frightened" and "no, stop, I'm scared".
She also said her friend "had a hate" for Ms Wrightson, although she did not know why.
In a recorded police interview shown in court, she stated that the younger girl told her Ms Wrightson had been "kicked and stamped on" during the attack.
The interview stated that the older girl came up with a plan to place a knife next to her body in an attempt to make it appear she had harmed herself - although the pair were unable to find a knife to carry out the plan.
The girl said: "She told me Angela was saying 'stop, I'm scared.' She said there was pools of blood, and flesh was coming out of her head."
She told the court the day after Ms Wrightson's death, her friend was "shaking and not herself" when they met up, and "kept reading about the murder on her phone, over and over," and had also asked her how "long a person would get" for murder.
She said when she asked her friend if Ms Wrightson was alive when the pair left the house, her friend's response varied - on one occasion saying she was "knocked out" and on another occasion saying she was "dead".
The witness asked her why she hadn't called police if she believed Ms Wrightson might be dead, and said she replied "because I wanted her dead anyway".
The trial, expected to last five weeks, continues.


US Anti-Doping Agency head Travis Tygart has called cyber-espionage team Fancy Bears "con artists" after they released documents allegedly showing "cover ups" by US sports officials.

The hackers - who are believed to be Russian - published emails belonging to a Usada staff member on Thursday.
"This is just another desperate attempt to distract from the real issue of state-sponsored doping," said Tygart.
In July, the McClaren report documented Russian doping in Olympic sports.
It outlined a state-backed scheme and led to more than 100 Russian athletes being banned from the Rio 2016 Games, while all Russians were banned from the subsequent Paralympic Games.
Since then the Fancy Bears, who describe themselves as a global hacking team, have released the medical records of some of the world's biggest sports stars, stolen from the World Anti-Doping Agency (Wada) database.
They claim they want to highlight doping and are fighting for clean sport.
Most records released belonged to athletes who had been given permission by anti-doping agencies to take otherwise banned substances to treat medical conditions.
The latest releases on Thursday were emails which detailed more athletes who have been given therapeutic use exemptions (TUEs), which allow banned substances to be taken for athletes' verified medical needs.
But Tygart said Fancy Bears were trying to "smear the reputations of athletes and organisations from around the world who choose to operate with integrity and abide by the rules".
"They are con artists," the Usada CEO told BBC Sport. "We are confident that people will see this for what it is: a malicious and illegal invasion of athlete privacy followed by a baseless smear campaign."
Russian officials have denied that the state has anything to do with Fancy Bears.
Usada also highlighted to BBC Sport errors in the latest release by the hackers.
In one example, Fancy Bears claim the organisation "granted" 583 TUEs in 2015 but the accompanying image of a table details that number of applications being "received" by Usada.
Usada's 2015 annual report says 402 TUE applications were granted.
Usada is confident the hackers have not breached their security and is working with law enforcement at the highest level in the US to protect athletes it feels have become victims.
The leaks have been criticised by anti-doping officials and sports bodies, who say the TUE system is an accepted part of sport which is strictly governed.
However, critics have said the leaks raise important questions about the widespread use of TUEs and whether they should be allowed in sport.


Yahoo gave no update on attempts to sell its core internet business as the firm slumped to a $440m (£332m) loss in the second quarter.

Investors are likely to be disappointed by the lack of an update on the sale of its search and advertising operations.
Chief executive Marissa Mayer said only that the board had made "great progress on strategic alternatives".
Yahoo reported a $60m rise in revenue to $1.3bn for the three months to June.
The increase was mainly generated by its core internet business, although mobile revenue jumped from $252m to $378m.
Much of the speculation about Yahoo's future is centred on Verizon, the telecoms giant that recently bought AOL, another faded internet star.
AT&T and a partnership between Quicken Loans founder Dan Gilbert and billionaire Warren Buffett were also thought to be in contention.
Yahoo could announce a buyer by the end of the month, according to some reports.
It remained unclear how much Yahoo might fetch, with estimates ranging from $5bn to $8bn.
In a recent note, BGC analyst Colin Gillis wrote: "We expect any offer in the range of $5-plus billion should be accepted by the Yahoo board to bring the process to a close."
Shares rose 0.6% to $37.95, valuing the company at $35.8bn. Much of that sum is due to Yahoo's stake in Chinese ecommerce giant Alibaba.
The future of Yahoo has been in question for several years and Ms Mayer has made little progress in returning the company to profit.
Her plan to spin-off Yahoo's stake in Alibaba was scrapped last year in favour of selling the search and advertising business.
Ms Mayer said despite the impending sale, she was still focused on increasing growth and cutting costs: "It is important to maximise the value of Yahoo in any scenario."
In February Yahoo cut 15% of its global workforce.
The company faced another hurdle last week after a report alleged many of the company's technology patents were flawed, lowering their value.
A survey by TurboPatent concluded that 44% of Yahoo's patents had "high severity" issues.


Port Vale have signed teenage Newcastle United defender Remie Streete on loan.

The 19-year-old centre-half becomes the third defensive signing made by interim manager Rob Page inside a fortnight.
Bournemouth loan man Stephane Zubar made his Vale debut in Tuesday night's 3-2 Johnstone's Paint trophy defeat, while West Bromwich Albion youngster Reiss Greenidge is yet to figure.
Vale, who are yet to keep a clean sheet this season, are likely to give Streete his debut on Saturday against Yeovil.
Streete, who has signed for an initial month, has been watched by Page and chairman Norman Smurthwaite several times in recent weeks for Newcastle's under-21s.


(Close): London's top shares recovered from initial falls and were in positive territory by close on Monday.

Overall, the FTSE 100 was up 18.67 points or 0.30% at 6,164.72.
Shares in mining firms were among the gainers, with Rio Tinto adding 1.67%, while Anglo American was up 1.69%.
Among the fallers was paper and packaging firm Mondi, which dropped 2.5% after Russian authorities announced an anti-trust investigation into one of its subsidiaries.


Children whose brains process information more slowly than their peers are at greater risk of having psychotic experiences, research claims.

A study found those slower in tests were more likely to have psychosis, like hearing voices and seeing things that are not present, at the age of 12.
Children with psychotic experiences are more at risk of developing psychotic illnesses like schizophrenia as adults.
It is hoped the Cardiff and Bristol universities study will help treatment.
Some 6,784 children who took part in the study were tested to see how quickly they could process information.
Their attention, memory, reasoning, and ability to solve problems were also assessed.
Among those interviewed, 787 (11.6%) had had suspected or definite psychotic experiences by the time they were 12 - with children who scored lower in the tests more likely to have had them.
This was particularly the case for the test that assessed how quickly the children processed information.
Researchers said that the psychotic experiences could often be both distressing and frightening and interfere with children's everyday lives.
The study has been published in the American Journal of Psychiatry..
Maria Niarchou, from Cardiff University's School of Medicine, lead author of the study, said: "Previous research has shown a link between the slowing down of information processing and schizophrenia and this was found to be at least in part the result of anti-psychotic medication.
"However, this study shows that impaired information processing speed can already be present in childhood and associated with higher risk of psychotic experiences, irrespective of medication."
But her Cardiff colleague Dr Marianne van den Bree said not every child who processed information slowly was at risk of psychosis later in life.
"Further research is needed to determine whether interventions to improve processing speed in at-risk children can lead to decreased transition to psychotic disorders," she said.
Ruth Coombs, of the mental health charity Mind Cymru, said the research could help young people at risk of psychosis to build resilience and to benefit from early help.
"It is important to remember that people can and do recover from mental health problems and we also welcome further research which supports resilience building in young people," she added.


More than 200 fringe events across the globe will mark the first-ever World Fringe Day to celebrate 70 years of the Edinburgh Festival Fringe.

The inaugural worldwide day of celebration will be held on 11 July.
Culture, Tourism and Foreign Affairs Secretary Fiona Hyslop joined Edinburgh Festival Fringe Society chief executive Shona McCarthy to announced the plans.
The first Edinburgh fringe was in 1947 when groups arrived at the Edinburgh International Festival uninvited.
The performers were undeterred by not being on the official programme and staged their shows on the fringe of the main festival, leading to the movement's name.
Since then, the founding principle of open access has remained key and the Edinburgh Festival Fringe has inspired the creation of fringe events worldwide.
Ms McCarthy said: "We are thrilled to reveal the plans for the first-ever World Fringe Day.
"We can't wait to join with our sister fringes across the world to celebrate the wonder and joy of fringe festivals in this auspicious year.
"This is an incredible opportunity for fringe organisers, venues, participants and audiences to take part in a truly international celebration of creativity that will transcend national boundaries, demonstrating the power of arts and culture to bring people together.
"We hope as many people as possible will join us for a very special day of worldwide fringe fun as we celebrate 70 years of fringe and pay homage to Scotland as the birthplace of the fringe movement."
The Scottish government's Edinburgh Festivals Expo70 fund will give Â£100,000 to support World Fringe Day through Creative Scotland.
Ms Hyslop said: "World Fringe Day is a fantastic opportunity to celebrate the global connections that Scotland has made through the arts.
"Edinburgh's festivals are world-renowned and it is remarkable to think that the fringe movement, that began here in 1947 with the founding of the Edinburgh Festival Fringe, has developed into a worldwide network with fringes now taking place on every continent except Antarctica.
"The Scottish government is proud to support World Fringe Day through our Edinburgh Festivals Expo70 fund, acknowledging Scotland as the home of fringe and joining with the many other wonderful fringe festivals around the world for an international day of celebration."


Nineteen people have been injured when a pickup truck crashed into a cafe in northern Australia, causing a fire that engulfed the building, police said.

The crash caused a gas bottle to explode which set fire to the Serves You Right Cafe in Ravenshoe, south of Cairns, in Queensland state.
Three people are in critical condition and have been airlifted to hospital. The driver is among the injured.
It is not known what caused the vehicle to veer off the road.
Patients were being treated for a "varying degree of burns" said Queensland Ambulance Service Assistant Commissioner Rod Sheather. The fire took an hour to bring under control, he said.
Kate Lewis, who works at a supermarket across from the cafe, described the scene as horrific.
"We just heard a massive sonic boom and went running out and saw the cafe on fire and lots of burned people," she told the Australian Broadcasting Corporation.
Ravenshoe, a farming town, has a population of about 1,000 people.


New homes are expected to be built on the site of a former 1970s town centre library, a council has said.

Slough's central library was considered state-of-the-art when it was built but closed earlier this month as part of a redevelopment scheme.
Planning permission was agreed for two hotels to be built at the site earlier this year.
The borough council has recommended 60 apartments are also developed.
"Constructing the new developments will improve local temporary employment opportunities... as well as increasing apprenticeship opportunities enabling local people to improve their learning and skill base," Slough Borough Council said.
Thousands of books have been moved to a new library in The Curve development nearby, which opens on Friday.
The hotels, along with a restaurant, form part of the Heart of Slough project which has also provided a new bus station, cultural centre and office developments.
A decision on the new homes is expected to be made at a special cabinet meeting on 5 September.


Ross County midfielder Jackson Irvine has won the Scottish Premiership player of the month award for March.

Australian Irvine, 23, featured in County's three league games last month, which included a win and a draw.
He also helped the Dingwall side win the Scottish League Cup final against Hibernian and featured in the Scottish Cup defeat by Dundee United.
Irvine joined County on loan from Celtic in 2014 and signed a two-year deal with the Highlanders last year.


Yorkshire captain Gary Ballance led the resistance after Hampshire enforced the Tykes to follow on.

Ballance struck a hard-fought 108 to help Yorkshire reach 231 before the hosts asked them to bat again.
Yorkshire lost Adam Lyth and England Test captain Joe Root cheaply, but Ballance (78 not out) and Alex Lees (70) put on 150 to steady the innings.
Lees was caught behind off Kyle Abbott late on, but Peter Handscomb survived to leave them 178-3, 46 runs behind.
Yorkshire lost to Hampshire in the season's opening game but Ballance has defied his side's struggles against them, scoring two centuries and two fifties in four innings.
He was at his gritty best on day three, hitting 12 fours in his 198-ball first innings to add to lower-order contributions from Adil Rashid (34) and Steven Patterson (21 not out).
Brad Wheal (2-63) had Rashid caught by James Vince, Liam Dawson (2-25) bowled David Willey and pinned Ballance lbw before Reece Topley dismissed last man Ben Coad to claim his first wicket since returning from injury.
After enforcing the follow-on, the home side were firmly on top at 20-2 when Lyth was caught behind off Gareth Berg and Root fell lbw to Abbott (2-42) for just two, giving him a tally of only 10 runs in the match.
But the crucial partnership between Ballance and Lees ensured Yorkshire go into the final day with hope of avoiding a double by Hampshire.
Hampshire head coach Craig White told BBC Radio Solent:
"We'd have taken this position at the start of the game. We battled hard with the bat and the first innings with the ball was good.
"They have got stuck in with the bat today and the wicket is pretty good. Ballance is a quality player.
"He's in good touch so we've just got to try and be patient with him tomorrow and see what happens in the first hour."
Yorkshire batsman Alex Lees told BBC Radio Leeds:
"We'd have liked to bat a bit longer this morning. We have put up a bit of a fight there from lunch onwards. But there is a lot of hard work yet to go.
"I've felt good all year but have just been getting out, which sometimes happens.  It was like I had a 100 begging. I'm disappointed not to get there.
"Gary is in a really good place, which is good for any batter. He has a responsibility as captain which has kept him focused. It is bringing the best out of him."


Northern Ireland's Rory McIlroy shot a closing three-under-par 67 to finish in a tie for fourth at The Open on Sunday.

Media playback is not supported on this device
The world number four was five over after six holes in the first round, but battled back to end on five under, seven behind winner Jordan Spieth.
McIlroy, 28, had an outside chance of making a title challenge before a lost ball on the 15th led to his only bogey.
He said: "It's a lost opportunity - I had a chance to get in a few shots better than Saturday and I didn't."
McIlroy birdied the ninth and 11th, with the highlight of his final round at Royal Birkdale an eagle at the 17th.
"I was within four [of the lead] at one point, playing 13 or 14, and I thought with the two par fives coming up I had the chance to post a number and at least scare them a little bit.
"But that's how it goes. It's tough out there, it really is. It is tough coming in."
McIlroy won the last of his four major titles at the US PGA Championship almost three years ago.
He admits that feels "too long" for a player of his ambition although he realises he arrived at Royal Birkdale this week in poor form after missing three of his previous four cuts.
"You look at Jack Nicklaus, he went through a stretch where he didn't win a major in three years," said McIlroy.
"I'm not comparing myself to Jack but it's hard to win them, very hard. It's the reason why in this generation - excluding Tiger [Woods] - no-one's got above five.
"I feel like three years has been too long, but at the same time I'm not going to rush it. I'm not going to stay impatient.
"It is a step in the right direction. Looking at what happened in the last few weeks, this is a lot better."
Media playback is not supported on this device


Britain's Chris Froome will ride in the 2016 Vuelta a Espana, Team Sky have confirmed.

Froome, 31, won the Tour de France for a third time in July and then took Olympic bronze in the time trial at Rio 2016 on 10 August.
The Vuelta begins with a team time trial in Ourense, Spain on 20 August and finishes on 11 September in Madrid.
"You could say I have unfinished business," said Froome, who was second in the Vuelta in 2011 and 2014.
He was forced to drop out of the 2015 Vuelta - one of the sport's three Grand Tours, alongside the Tour de France and Giro d'Italia - when he broke a bone in his foot as he hit a barrier on the 11th stage.
Froome finished in 12th in the road race on the first day of competition in Rio, but claimed the time trial bronze medal behind winner Fabian Cancellara four days later.
Team Sky's line-up in Spain is completed by Ian Boswell, Michal Golas, Peter Kennaugh, Christian Knees, Michal Kwiatkowski, Mikel Landa, Salvatore Puccio and Leo Konig.


London's FTSE 100 stock market index ended at another record high on Monday, rising 0.25%, or 19 points, to 7,454.

Commodities firms and banks were the biggest gainers.
Anglo American, Glencore, Standard Chartered, BHP Billiton and Barclays all posted rises of between 2.2% and 3.3%.
Energy shares also bolstered the index after Brent crude rose more than 2% to $52.17 a barrel.
Laith Khalaf, at Hargreaves Lansdown, said: "The UK stock market hasn't been fazed by the general election, and continues to perform strongly against a backdrop of low interest rates and an improving global economy."
"Things may be getting tougher for the UK economy this year as rising inflation and weak wage growth look set to dent consumer demand, but the Footsie dances to a different tune because so many of the companies within it are global businesses, and thus not overly reliant on domestic conditions.
"Indeed many have seen their share prices rise as a result of weaker sterling, precisely because they have international revenue streams," he added.
Oil giant BP rose by 1% and rival Royal Dutch Shell was up by 0.4%.
The rise in oil prices came after the energy ministers of Saudi Arabia and Russia jointly announced that the current agreement to cut production, which began late last year, should be extended until March 2018.
"Opec and its allies have been on manoeuvres once more, repeating their view that more production cuts are necessary in order to avoid another supply glut," said Chris Beauchamp, chief market analyst at IG.
"This has helped oil prices to move higher once more, but the cartel appears to get diminishing returns each time it announces a reduction in output."
TUI was the biggest faller in the FTSE 100, down 4.8%, after the travel company reported a loss of 308.6m euros (Â£261m) for the six months to the end of March, although that was an improvement on the 394.9m euro loss reported a year earlier.
The company said UK bookings remained "resilient", and the popularity of travelling to Spain, Greece and the Caribbean had helped to offset lower demand for Turkey and North Africa.
Shares in rival travel firm Thomas Cook also fell, down 3.4%.
On the currency markets, the pound rose 0.3% against the dollar to $1.292, but was down slightly at 1.176 euros.


Surbiton's men's and women's teams have been crowned national hockey champions at the Lee Valley hockey centre.

In the Men's Hockey League Final, Gareth Furlong scored twice as Surbiton found the net three times in eight minutes to tie 3-3 with Wimbledon.
David Beckett then scored the final penalty to beat the defending champions 3-2 in the shoot-out.
Surbiton's women's team won their fourth consecutive title with a 3-1 victory over Holcombe.
Find out how to get into hockey with our special guide.
Eleanor Watton pulled a goal back from a penalty corner for Holcombe after Giselle Ansley and Rebecca Middleton had put Surbiton 2-0 up, but Naomi Evans' late goal secured the victory.
Meanwhile, Canterbury's men's team retained their place in the top flight with a 7-2 win over Sevenoaks, while Buckingham's women were promoted to the top tier with a 4-3 win against Wimbledon.


A policeman who pressured a vulnerable member of staff into two sex acts was allowed to keep his job so he would not lose his pension, a tribunal heard.

Supt David Borrie, of Northumbria Police, is said to have simply been told "don't apply for promotion" by his chief constable, Mike Craik.
Mr Craik has been at the centre of allegations about officers' conduct.
The claim was made at a tribunal brought by the force's former head of legal services.
Denise Aubrey, 54, was sacked in 2014 for gross misconduct after allegedly disclosing information about an affair Mr Craik was said to be having with his assistant chief constable, Carolyn Peacock, and a second relationship between two further high-ranking officers.
Mr Aubrey denies she did so and is claiming unfair dismissal, sexual and disability discrimination, victimisation and harassment.
In her witness statement, she said Mr Borrie, who is now 57 and retired from the force, pursued the "extremely vulnerable" civilian member of staff, who cannot be named for legal reasons, and "groped her in the office".
She said: "On another occasion, he took her for a drink in the afternoon at a pub and then pressurised her into giving him oral sex."
This happened a second time and eventually an investigation was launched, the tribunal in North Shields heard.
Ms Aubrey said: "Whilst it was felt that a criminal charge would not succeed, he had clearly breached police standards.
"Instead, it was decided to move him but to allow him to complete his service so that he could get his pension. Mr Craik decided to have a 'quiet word' with him and told him 'not to bother applying for promotion'.
"However, the IPCC [the police watchdog] insisted that he received a formal written warning."
Earlier in the week, the tribunal was told Mrs Peacock's husband, who was also a policeman, punched Mr Craik at a barbecue after learning of the affair.
Officers were called to deal with the altercation, but the record of the incident was then said to be deleted - leading to an allegation of a "cover-up" by Ms Aubrey's QC, Daphne Romney.
Rumours of the relationship began circulating in 2007, Ms Aubrey said.
Allegations of a second affair at the force, involving assistant chief constable Greg Vant and Mr Craik's secretary, Juliet Bains, were also raised at the tribunal.


A cat called Kitty underwent life-saving surgery after swallowing a toy cat - also named Kitty.

The ginger tabby's worried owners took her to the vets after she gulped down the plastic figure from the Kitty in My Pocket children's toy range.
An X-ray revealed the toy had become lodged in the pet's abdomen and threatened to perforate her intestine.
But following a successful operation at Manchester Vet Centre, Kitty is now home and recovering well.
Owner Paul Grice, 38, of Denton, Tameside, said: "We were really upset as we'd had Kitty from a little kitten. You get yourself worked up and it's totally out of your hands.
"We had absolutely no idea that she'd swallowed anything and only found out as a result of the X-ray. What are the chances of a cat called Kitty swallowing a cat called Kitty?"
Vet Ann Mee said: "Kitty was very poorly, she was dehydrated and lethargic.
"Sometimes, when we have a foreign body present, we can milk them through to the large intestines to allow the animal to pass it naturally.
"But this was a hard plastic toy with a prominent tail and ears which had got caught in the intestinal wall. Any attempt to move it down would have ruptured the intestinal wall itself."
Paul's wife Michelle, 36, said: "Kitty is glued to my little girl. If we'd lost her it doesn't bear thinking about. We're just thrilled to have her home."


Opponents of President Donald Trump's decision to scrap his predecessor's climate change policies say they will organise a public campaign and pursue legal avenues to challenge it.

California and New York issued a joint statement saying they would continue the fight against climate change.
Environmental groups have hired a host of lawyers to challenge Mr Trump's move that boosts fossil fuel production.
Mr Trump said he wanted to end "job-killing regulations".
His supporters believe that ending the climate change rules brought in by Barack Obama will create thousands of jobs in the gas, coal and oil industries.
The governors of New York and California summed up opponents' views by saying Mr Trump's stance was "profoundly misguided and shockingly ignores basic science".
In a joint statement, Governors Jerry Brown of California and Andrew Cuomo of New York, both Democrats, said: "With or without Washington, we will work with our partners throughout the world to aggressively fight climate change and protect our future."
The two states have set even stricter targets on reducing greenhouse gas emissions than required by Mr Obama's rules and have far-reaching plans for converting to renewable energy sources for producing electricity.
Governor Brown said: "Erasing climate change may take place in Donald Trump's mind, but nowhere else."
A host of legal issues could be in the pipeline.
California has a special waiver allowing it to enforce tougher measures on vehicle emissions. Mr Trump could rescind that - but this would lead to a fierce challenge.
He could also ask Congress to revoke the Clean Air Act.
Back in 2007, the US Supreme Court ruled that carbon dioxide gas was a pollutant under the Act.
Some experts believe that the ultimate goal of Mr Trump's executive order is to overturn that ruling.
Already tied up in the courts is Mr Obama's Clean Power Plan (CPP), which seeks to cut fossil fuels from electricity production.
The BBC's environment correspondent, Matt McGrath, says Mr Trump will let the CPP fester there while coming up with a much weaker replacement.
David Goldston, of the Natural Resources Defence Council, said activists were gearing up for legal challenges.
He said: "The president doesn't get to simply rewrite safeguards; they have to... prove the changes are in line with the law and science. I think that's going to be a high hurdle for them."
Any legal challenges would dovetail with action to win over public opinion.
Jeremy Symons, of the Environmental Defence Fund, told Associated Press: "In terms of the big picture, our strategy is simple: shine a spotlight on what is going on and mobilise the public against these rollbacks."
But Mr Trump's move does have supporters.
US Chamber of Commerce president Thomas Donohue said: "These executive actions are a welcome departure from the previous administration's strategy of making energy more expensive through costly, job-killing regulations that choked our economy."
Mr Trump's Energy Independence Executive Order suspends more than half a dozen measures enacted by his predecessor.
Although during his election campaign he also vowed to pull the US out of the Paris climate deal agreed in December 2015, he has not spelled out the US intentions.
Whatever the US chooses, the EU, India and China say they will stick to their pledges made in Paris.
On Wednesday, Chinese foreign ministry spokesman Lu Kang said: "No matter how other countries' policies change, as a responsible large developing country, China's resolve, aims and policy moves in dealing with climate change will not."


The sale of a painting believed to show the Bronte sisters has been halted following information that could prove it depicts the literary trio.

The portrait of three women was due to be auctioned in Northamptonshire this week.
But it was withdrawn from sale after a collector came forward about a similar Bronte portrait by the same artist.
The auctioneer said this could prove there was a link between the sisters and the artist, Sir Edwin Landseer.
Auctioneer Jonathan Humbert said: "In light of the new information and its potential significance, we have postponed the sale and will evaluate the strength and implications of what has now come to light.
"This could help prove beyond doubt, the important link between Landseer, one of the 19th century's greatest artists, and the Bronte sisters, English literature's most perennial siblings."
He added: "We can only do our best to prove beyond doubt, and obviously the more information we have the better our conclusion can be."
The Bronte family moved to Haworth, West Yorkshire, in 1820 where the Reverend Patrick Bronte was appointed Curate of Haworth.
They lived at the Haworth Parsonage from 1820 to 1861, which is now the Bronte Parsonage Museum.