Thousands gathered in Manhattan to hear Democratic presidential candidate Bernie Sanders speak, five days before New Yorkers cast their votes.

"When I look at an unbelievable crowd like this I believe we're going to win here in New York," the Vermont senator said in Washington Square.
Organisers say a crowd of 27,000 heard his key themes of income inequality and Wall Street greed at Wednesday's event.
His rival Hillary Clinton attacked the Republicans at an event in the Bronx.
She remains ahead of Mr Sanders in the state-by-state race but New York has many delegates up for grabs.
Delegates are awarded by each state according to the vote given to each candidate. They are party members with the power to vote for that candidate at the party conventions held in July.
Is Wall Street a problem for Hillary Clinton?
Are Trump and Sanders right about trade?
Both Mrs Clinton, the former secretary of state and first lady, and Mr Sanders have strong New York ties that they will be sure to underline on Thursday night when they meet in a televised debate.
It comes as Mr Sanders was forced to distance himself on Thursday morning from offensive comments made by a speaker at his rally that appeared to be directed at Mrs Clinton.
Health care activist Dr Paul Song apologised after referring to "corporate Democratic whores" - language Mr Sanders said was inappropriate and insensitive.
Mr Sanders said the rally in Washington Square, with its famous arch, was the most important event yet of his campaign, which for months has drawn huge crowds across the country.
"It is about creating a political revolution," he said to those gathered.
"It is about creating a government which works for all of us, not just wealthy campaign contributors."
He spoke about growing up in Brooklyn as the son of immigrants and he referred to New York landmarks like the Stonewall Inn in Greenwich Village, the birthplace of the movement for gay rights.
Minority voters will play a key part in New York. Earlier on Wednesday, Mrs Clinton said the country's long struggle with racism had a long way to go, as she appeared on stage with civil rights activist Reverend Al Sharpton.
She attracted an enthusiastic crowd of 1,300 people to a Bronx community centre, where she did not mention Mr Sanders but turned her fire on Republicans Donald Trump and Ted Cruz, whom she accused of dividing America.
"He wants to build walls - I want to build bridges," she said about Mr Trump.
The New York businessman leads the three-man Republican field but may not get enough delegates to win the nomination outright.
He has accused the Republican party of stacking the rules against him - a charge party leaders have dismissed as ridiculous.


Two police officers wept as they tried to resuscitate one of the 96 fans fatally injured at Hillsborough, one of his friends told the new inquests jury.

Stanley Mullin said an officer had "tears in his eyes" as he said he could not do any more for Eric Hughes, 42.
The policemen gave mouth-to-mouth and heart massage to the father-of-two from Warrington, while Mr Mullin rubbed his friend's hand, saying: "Come on, Eric!"
The court also heard about the final movements of 18-year-old Paul Clark.
Mr Mullin and Mr Hughes had travelled to Sheffield on 15 April 1989 to watch Liverpool play Nottingham Forest in the FA Cup semi-final.
Mr Hughes' son David, who was 17 at the time of the disaster, previously told the court how his father - who had worked as a lorry driver, a taxi driver and a salesman - was nicknamed "Eric The Red" because of his devotion to Liverpool FC.
He told the hearing of his sorrow that his father had not lived to meet his grandchildren, and that he never "got to buy my dad a pint".
The friends went into pen three together on the Leppings Lane terraces but were separated after a crowd surge, the hearing was told.
Mr Mullin managed to escape through a gate at the front of the stand, which he said had been opened by a police officer.
He later saw Mr Hughes being lifted off the terraces and laid on the pitch. The jury heard he was placed near the goal line at 15:26 BST - 20 minutes after the match was halted.
PC Neil Mutch was giving Mr Hughes chest compressions while his colleague PC Barbara Hardwick - now Barbara Woodward - gave him the kiss of life.
Mr Hughes was unresponsive, the jury heard.
Mr Mullin said: "I was rubbing Eric's hand. I was talking to Eric while rubbing his hands, saying, 'Come on Eric! Come on!'"
Mr Mullin said the officers, who were both crying, eventually stopped.
He said: "The chap just looked up at me with tears in his eyes and said: 'I'm sorry I can't do any more.' They were so upset."
In a statement, Mr Mutch said that after seeing Mr Hughes he was "in a very bad state", while Mrs Woodward was "very upset".
Mrs Woodward told the court she had "blocked out" a lot of what happened on the day of the disaster.
The court heard how the officers stopped giving first aid after a man who said he was a doctor told them Mr Hughes had died.
Paul Clark was an apprentice electrician from Derbyshire. His parents described him as a "lovely young man" who was "fun-loving and caring".
He went to the match with his father, Kenneth, and a friend, Andrew Booth.
Mr Booth, who was with his friend inside pen three, said Mr Clark moved towards the front of the enclosure shortly before kick-off.
"I would have said he was pushed forward by the crowd," Mr Booth said.
He did not see his friend alive again and said that after kick-off the pressure in the enclosure intensified.
Matthew Hill, a barrister representing the coroner, said there was no video or eyewitness evidence showing how Mr Clark made it off the terraces.
After the disaster Mr Clark's father, who had a seated ticket for the match, waited for his son at a meeting point. When he did not turn up, he went to a nearby police station for help.
Mr Clark eventually called his wife, Susan, who travelled to Sheffield that evening.
They later identified their son's body in the stadium's gymnasium.
The inquests, in Warrington, Cheshire, are due to resume on Thursday.
BBC News: Profiles of all those who died


Latvian police have arrested 110 Chinese suspects in a joint operation with Chinese authorities over telephone and internet fraud.

The detainees are suspected of having stolen about 2m euros (Â£1.8m; $2.3m) from people in China through scams.
It is not yet clear what form the scams took. A Latvian police officer said the ringleaders were believed to be among those caught.
Raids took place at addresses in Riga, and the towns of Adazi and Saulkrasti.
A Latvian citizen was also arrested, Latvia's Delfi news agency reported.
Border police are checking the Chinese suspects to see if any of them had entered the Baltic republic illegally.
Criminal investigations chief Janis Lazdins said the two-month operation was launched after a tip-off from Chinese authorities.
If the evidence is strong enough, Latvia may hand over suspects to China for prosecution.


Manchester United midfielder Juan Mata has pledged to donate 1% of his salary to charity and has called for other professionals to do the same.

The 29-year-old said he would donate the money to Common Goal, run by the organisation streetfootballworld, which supports football charities worldwide.
"I am leading this effort, but I don't want to be alone," Mata said in a blog.
The Spaniard, who joined United from Chelsea for £37.1m in 2014, reportedly earns £7m a year.
Mata said he was shocked by the poverty he saw on a visit to Mumbai, India, and the long-term aim was for the entire football industry to contribute one per cent of revenue to grassroots football charities.
He added: "I am launching something that I hope will change the world, even if only in some small way."
Mata said he wanted to create a 'Common Goal starting XI', made up of 11 players who each donate 1% of their wage to the charity.
He has made his appeal at a time when football clubs are spending heavily on transfer fees and player wages.
This week, French side Paris St-Germain signed forward Neymar for a world record fee of 222m euros (£200m) from Barcelona. The Brazilian will earn 45m euros (£40.7m) a year - 865,000 euros (£782,000) a week - before tax.


A former Milwaukee police officer has been charged with first-degree reckless homicide in an August shooting.

Dominique Heaggan-Brown shot and killed Sylville Smith, 23, on 13 August 2016 after he fled from police. The death sparked two days of riots in Milwaukee.
Prosecutors decided to charge him after police body camera footage allegedly showed the officer shooting Smith in the chest as he lay on the ground.
Smith was armed with a pistol, but threw it over a fence before his death.
Both the victim and the former police officer are African-American.
Mr Heaggan-Brown, 24, has already been fired from the police force due to an unrelated investigation accusing him of sexual assault.
According to the criminal complaint, the body camera video shows Smith fall to his back after being shot by the officers who had pursued him on foot after he fled from a traffic stop.
Mr Heaggan-Brown's first bullet hit Smith in the right arm, as he was turning "his head and upper body towards the officers", while still holding the semi-automatic pistol.
"He then raises the gun upward while looking in the direction of the officers and throws the gun over the fence into the yard," the complaint reads.
After Smith was hit, a police body camera shows him fall to his back, with his arms extended upwards towards his head.
"Heaggan-Brown is observed standing a short distance from Smith with his weapon pointed down at Smith when Heaggan-Brown discharges a second shot from his weapon at what appears to be Smith's chest."
A review of the body camera video "confirms that at the time of the second shot, Smith was unarmed and had his hands near his head".
According to investigators, 1.69 seconds elapsed between the first and second shots.
Police chief Ed Flynn had fired Mr Heaggan-Brown from the police force in October after he was charged with sexual assault in an unrelated case.
Prosecutors say that Mr Heaggan-Brown went to a bar with another man on the night of 14 August - one day after the shooting - where they drank and watched the riots on TV.
The man told authorities that the former Milwaukee officer bragged that he could do whatever he wanted without repercussions, and that he later woke up to the officer sexually assaulting him.
He has also been charged with soliciting sex from two people, as well as sexually assaulting another person in July 2016 and photographing the naked victim.
If found guilty of reckless homicide he could face 60 years in prison.


DNA tests confirm Lebanon is holding the young daughter of Islamic State (IS) leader Abu Bakr al-Baghdadi, the country's interior minister says.

Nohad Machnouk told Lebanon's MTV television that the child's mother, who is also in custody, was now believed to be one of Baghdadi's ex-wives.
On Tuesday, Lebanese security officials said they had detained his wife and son at a border crossing with Syria.
But Iraq's government later insisted the woman was not married to Baghdadi.
It said the woman - identified as Saja al-Dulaimi - was the daughter of an active member of al-Qaeda's affiliate in Syria, al-Nusra Front.
She is also thought to have been detained by the Syrian authorities before being freed in March as part of a prisoner exchange with al-Nusra.
Late on Wednesday, Mr Machnouk told MTV that Ms Dulaimi had been travelling with two sons and a daughter when they were detained by the army two weeks ago.
"Dulaimi is not Abu Bakr al-Baghdadi's wife currently. She has been married three times: first to a man from the former Iraqi regime, with whom she had two sons," he said.
"Six years ago she married Abu Bakr al-Baghdadi for three months, and she had a daughter with him. Now, she is married to a Palestinian and she is pregnant with his child."
The minister added: "We conducted DNA tests on her and the daughter, which showed she was the mother of the girl, and that the girl is [Baghdadi's] daughter, based on DNA from Baghdadi from Iraq."
It is not clear how the Iraqi authorities have the IS leader's DNA. However, in 2005 he was arrested by US forces in Iraq and spent the next four years a prisoner at Camp Bucca, near the southern town of Um Qasr, before being handed over to the Iraqi authorities and then released.
Mr Machnouk said Ms Dulaimi's children were staying at a care centre while she was being interrogated at the defence ministry's headquarters.
IS has not commented on their detention, but al-Nusra has condemned it.
One Lebanese official has said it is a "powerful card to apply pressure" in negotiations with IS and al-Nusra, who are holding more than 20 Lebanese soldiers and police hostage. They are threatening to kill them unless militants are freed from Lebanese jails.


Peaky Blinders star Cillian Murphy has said the Birmingham accent is "sexy".

The Irish-born actor plays Thomas Shelby, ambitious head of a gangster family in the BBC drama.
He said the people of the city had been "very forgiving" of his own much-maligned attempts to imitate their accent.
Speaking at the premiere of the show's third series, Murphy, 39, said the Brummie brogue was "not ugly, it's quite sexy".
He said he would test out his vocal skills on Peaky Blinders' creator, Steve Knight, who was born in the city.
"I would call him up and leave messages on his phone and see if he approves," he said.
The star said it was "really helpful" to have local talent featuring in the second series and referred to Harry Kirton, who plays Finn Shelby, as "great talent".
Members of the show's cast stepped on to the red carpet on Wednesday at The Mailbox in Birmingham.
Other notable figures from the West Midlands joined them, including comedian Jasper Carrott, Birmingham City manager Gary Rowett and model Ricki Hall.
Gaite Jansen, who plays a Russian duchess, Princess Tatiana Petrovna, had a different accent dilemma: "I'm Dutch and had to do a Russian accent. I had a dialect coach who helped me study how to speak English with a Russian accent.
She admits she didn't know much about Birmingham: "I learnt a lot though. Now I love it. And I love that Steven Knight has made Birmingham like this Wild West."
Steven Knight, who also writes the programme, said its makers hoped to do more filming in Birmingham when the fourth series goes into production.
"The locations that we have found have been North but the fourth series - which will happen - we will film far more in Birmingham," he said.


Azhar Ali will remain Pakistan's one-day captain after his offer to resign over Mohammad Amir's presence at a Lahore training camp was rejected.

Amir is available for selection after being jailed and banned for five years for his part in a spot-fixing scam during the 2010 Test series in England.
Azhar and former captain Mohammad Hafeez had initially refused to join the camp before opting to return.
The Pakistan Cricket Board (PCB) says Azhar "will continue as captain".
The PCB statement added: "Azhar Ali met the PCB chairman [Shaharyar Khan]. He tendered his resignation. The chairman didn't accept his resignation. Azhar Ali agreed."
Hafeez said last month that he could not "share the dressing room with someone who hurt my country's integrity".
Meanwhile, a Pakistani court has rejected a petition against the inclusion of Amir in the national team with the 23-year-old set to be included in the squad for next month's limited-overs tour of New Zealand.
In 2010, aged 18, Amir pleaded guilty to bowling no-balls at pre-arranged times during Pakistan's fourth Test against England at Lord's.
He served half of a six-month jail term, while team-mates Mohammad Asif and captain Salman Butt served six and seven months respectively.
Former Pakistan captain Imran Khan has backed Amir's return to international cricket but Test skipper Misbah-ul-Haq has said he feared the bowler's comeback would prove a big distraction for the team.


Kim Kardashian's attempt to "break the internet" with pictures of her bare bum have left people asking the inevitable question; is it real?

The series of shots in Paper magazine show her in various states of undress; topless, bottomless; front and back.
Unsurprisingly, the images of her greased-up behind are the most looked at pictures online with more than 100,000 searches.
So we've looked into the science of... having a big behind.
From Victorian human freak shows to modern day music videos there seems to be an appetite for a big bottom.
It's no secret the lyrics to Meghan Trainor's recent number one hit All About The Base covers the same subject.
She sings: "Yeah my mama told me don't worry about the size, boys like a little more booty to hold at night."
And Jason Derulo in his Wiggle track featuring Snoop Dogg opens up with: "I got one question How do you fit all that... in them jeans? You know what to do with that big fat butt...wiggle."
So while these tracks and the latest photos of Kim Kardashian celebrate the love of a big bottom, it seems there is also an upside health-wise.
In 2010, scientists at Oxford University discovered, after a study of 16,000 women, that those with larger than average butts are not only increasingly intelligent but also very resistant to chronic illnesses.
The researchers also found big-bottomed people need more Omega 3 fats, which have been proven to help brain development, ABC News reported at the time.
Another bit of scientific research related to this part of the anatomy comes from Dr Alice Roberts, an expert on human evolution.
For her BBC Two Origins of Us programme, she looked at why human beings have larger bums compared with ancestral apes.
It appears to be based on a theory from a famous study called The Naked Ape in 1967 by zoologist Desmond Morris.
He concluded that humans needed to be upright for longer than apes; so the buttock muscles known as the gluteus maximus evolved to support standing up.
Dr Alice Roberts also explained in a scientific test that humans needed bottom muscles to engage in running, more so than apes.
Not that you see Kim Kardashian and her famous behind running very often.
If the web had been around in the 1800s, the name people would be typing in would be Hottentot Venus, real name Saartjie Baartman, who was born in 1789 in South Africa.
She was bought and sold to perform in human freak shows in Europe because of her big bum.
But while Kim Kardashian is riding high around the web, the story of Hottentot Venus is one of enslavement and degradation.
Follow @BBCNewsbeat on Twitter and Radio1Newsbeat on YouTube


A charity that offers care to people dying from an incurable disease has become a major shareholder in a Scottish Premiership football team.

The Highland Hospice has been gifted a 19% share in Inverness Caledonian Thistle by an anonymous donor.
The shares are worth more than Â£573,000.
The charity said it would use the shares to raise funds for a Â£7.5m redevelopment of its centre in Inverness.
The donation makes the Highland Hospice the second biggest shareholder in ICTFC but the charity's bosses said they would not be seeking a place on the board.
Norman MacDonald, the charity's vice chairman, described the gift as "phenomenally generous" and had placed the hospice in a "very unique situation".
However, he said the hospice would be looking to raise money from selling the shares.
He told BBC Radio Scotland's Good Morning Scotland programme: "The Highland Hospice's priority is palliative care and our responsibilities are to our patients and their families."


A commercial plane that served the Channel Islands for more than 25 years will make one last flight to become a museum piece.

Trislander G-RLON, which belongs to Guernsey airline Aurigny, will fly to Solent Sky Museum in Southampton, where it will be placed on permanent display.
The Britten Norman plane's first flight was in 1975 and it joined the airline in 1991 and was retired in February.
It clocked up more than 32,600 flying hours and made 105,130 landings.
During this time it has operated on routes between Guernsey, Alderney, Jersey, Southampton and Dinard.
More on this museum move, and other news
The airline says it is waiting for a special permit to make the flight as the plane no longer has a licence to fly.
Once that has been obtained and crew are available the flight to Lee-On-Solent airfield, near Portsmouth, will take place and it could be as soon as this week.
Aurigny's 'poster plane' G-Joey is also due to go on display at a purpose-built attraction in Guernsey..
Mark Darby, chief executive of Aurigny, said: "We are delighted... the Trislanders have served the airline for over four decades now and for many years was the backbone of the operations.
"Many people, both locally and further afield, hold the aircraft close to their hearts and it is fitting that one of our last Trislanders will go on public display in the UK."
He said the plane was going to the museum on "permanent loan".
Aurigny is phasing out the Britten-Norman Trislander in favour of the Dornier 228 and the last one in service with the airline is due to retire in June.
Mr Darby said he expected that plane would end up at Duxford Museum.


A celebrated "rat" mural by graffiti artist Banksy is to return to Liverpool after it failed to sell at a London auction.

The black and white design was painted on the outside of the derelict former Whitehouse pub in 2004.
But the artwork began to slowly erode, prompting a scheme to remove and restore it for sale.
The mural failed to sell at auction in May, and will soon form part of a new public display in Liverpool.
Liverpool-based Ascot Property Group acquired the Grade II-listed former pub on the corner of Berry Street and Duke Street in 2011, and was closely involved with the plan to painstakingly remove and piece the mural back together.
However, it failed to reach its reserve price of Â£225,000.
Stuart Howard, of Ascot Property, confirmed plans were now being discussed to bring the rat back to Liverpool.
He said detailed plans would be revealed in "a few weeks".
Many of Banky's murals feature rats or rodents, but the Liverpool rat is thought to be one of the artist's largest works in the UK.
It is understood the mural will not return to the former pub, which is now a restaurant.


Continuing disruption to rubbish collections in Brighton after a strike by refuse collectors has been blamed by the council on staff working to rule.

Council leader Jason Kitkat said he could not guarantee when a backlog of uncollected waste would be cleared.
He claimed crews were not collecting rubbish left next to bins and boxes under a work-to-rule policy.
The GMB union said there was no work to rule and staff were doing normal work under health and safety procedures.
The union is balloting workers in the council's Cityclean department over industrial action, in a dispute over pay and allowances.
Some residents have said their rubbish has not been collected for a month.
Refuse collectors went on strike on the Wednesday and Thursday after the May Day bank holiday weekend.
Councillor Kitkat said: "We are doing everything we can to catch up as fast as we can, but unfortunately we had a bank holiday and then we had two days of unofficial strike action, followed by work to rule that has been ongoing."
He said the council was consulting workers on a pay offer where the majority would receive increased pay, but 10% would lose an average of Â£1,000 a year for which they would receive Â£3,000 compensation.
Resident Mike Ward said he had not had a collection for three weeks and he had stacks of recycling that needed bundling up daily because of the risk of seagull and fox attacks.
He said the council had advised residents to put out rubbish regardless and await the next collection, but added: "There's every chance that if there's any overspill, the crew who does turn up won't collect it at all."
Charles Harrity, GMB senior organiser, said the GMB and other unions involved were willing to resolve the action but could not sanction some workers losing Â£4,000 per year in salary, and a resolution was needed on both sides.
Adding that the council had "provoked members", he said: "This whole idea of work to rule - I don't know where that is coming from. They are doing their job as per processes long-established."


Bottom club Aston Villa held leaders Manchester City to a goalless draw in Remi Garde's first game as manager.

Displaying a new-found defensive solidity, the hosts restricted City well although Raheem Sterling should have scored with a close-range header.
Fernando saw a late header hit the bar for the visitors, while substitute Fabian Delph's low shot rolled just wide.
Villa were less effective going forward and did not manage a shot on target.
However, they will welcome their first point since August against a free-scoring City side who were held to their second successive 0-0 draw away from home in the Premier League.
The result ends a disastrous run of seven straight league defeats for the Villans, while Manuel Pellegrini's side remain level on points with Arsenal at the top of the Premier League following the Gunners' 1-1 draw with Tottenham.
Manchester City had 13 shots on goal in total - 10 of which came in the second half - but far too often they appeared to lack a figurehead up front.
Wilfried Bony was substituted with a hamstring injury after 25 minutes, but rather than send on a like-for-like striking replacement in Kelechi Iheanacho they pushed Sterling and Kevin de Bruyne further forward and put Bony's replacement Jesus Navas out wide.
They still created enough chances to win the game, but a combination of poor finishing, good goalkeeping and some new manager luck denied them.
Sterling will be disappointed not to score when clean through, but the England forward elected to cut inside on to his right foot and that allowed two defenders to get back and clear the danger.
The £49m signing also saw a point-blank header hit goalkeeper Brad Guzan on the forehead and deflect wide, while De Bruyne stabbed wide following a good cross from Navas.
City almost nicked it when former Villa captain Delph, who was booed when he came on, went close moments after Fernando had struck the bar in a frenetic end to the game.
Rudy Gestede provided more attacking spark for Aston Villa in a six-minute cameo at the end than the rest of his team-mates put together.
He angered City when he returned the ball to Joe Hart via a heavy throw-in and the goalkeeper could only deflect it wide for a corner.
The striker ignored City's reaction and, from the resulting corner, shot just over the bar.
Media playback is not supported on this device
Aston Villa manager Remi Garde: "It was a nice experience and a fantastic atmosphere. It was a tough game. I can be vey happy with my team today, I saw smiles on their faces.
"When you play with sadness it does not help you. I tried in the three training sessions we had to deliver my message. Nobody expected we were going to score two or three goals. The difference between the two teams before was huge. Making sure we were well organised defensively was my priority.
"Some of the players who didn't start today had problems during the week. Nobody will play because he's French or Spanish or British. I saw in training how good or bad they were."
Media playback is not supported on this device
Manchester City manager Manuel Pellegrini: "We're disappointed with the draw. I think we did enough to win the game. They had just one shot on our goal, we had three or four clear chances to score.
"Villa defended very well with nine or 10 players. We tried to break that line. Two or three of our chances were unlucky. This happens in football.
"Without Bony and without Sergio Aguero we don't have a player who plays inside the box. We have to try and work without them."
Aston Villa have a difficult, but winnable, couple of games ahead of them in November. They visit Everton after the international break on 21 November before welcoming Watford the following week.
It is also a big month for Manchester City, who play Liverpool on 21 November before facing Juventus and Southampton, although the two Premier League games are at home.


The first trailer for Star Wars: The Force Awakens has been unveiled online and in US cinemas.

It gives fans an 88-second glimpse of the new film, the first new addition to the series since 2005.
Featuring shots of the Millennium Falcon, it also offers the first look of a new cross-shaped lightsaber.
The film, which reunites original stars Mark Hamill, Harrison Ford and Carrie Fisher is scheduled to be released in cinemas on 18 December 2015.
The trailer opens with a sweeping desert landscape, with a voice saying: "There has been an awakening, have you felt it?", before British star John Boyega appears wearing a Stormtrooper uniform.
It goes on to feature a football-like droid, a Stormtrooper army and fellow British star Daisy Ridley on a type of speeder bike.
A hooded villain is seen walking through a snowy wood with the new lightsaber, along with shots of X-Wing and Tie Fighters, before the Millennium Falcon sweeps across the sky.
According to Time, one cinema in Austin, Texas, is playing the trailer in a separate standalone screening 17 consecutive times.
Each screening will be followed by two minutes of discussion by a panel of Star Wars experts.
The seventh instalment of the sci-fi saga is set about 30 years after the events of Star Wars: Episode VI Return of the Jedi.


Dame Helen Mirren will lend her voice to a recording of a new story by celebrated children's author Beatrix Potter, rediscovered after 100 years.

The Tale of Kitty-in-Boots will be the actress's first audiobook recording when it is released in September.
It tells the story of the "well-behaved prime black Kitty cat, who leads rather a double life" as a crime-fighter.
The manuscript was found two years ago by Jo Hanks from the publishing company Penguin Random House.
Ms Hanks came across the story of Kitty-in-Boots by chance in 2013 after reading an out-of-print history of Potter.
It referenced a letter the author had sent her publisher in 1914 in which she talked about the cat's adventure.
Ms Hunt then looked in the archives of the Victoria and Albert Museum in London and found three unedited manuscripts of the story, two in children's school notebooks and one typed, along with a rough sketch of Kitty-in-Boots and the villainous fox Mr Tod.
In the story, Kitty-in Boots encounters Mr Tod whilst out hunting at night.
The tale also features Peter Rabbit, himself one of Potter's most famous characters, and another Potter favourite, Mrs Tiggy-Winkle.
"The tale really is the best of Beatrix Potter. It has double identities, colourful villains and a number of favourite characters from other tales - most excitingly, Peter Rabbit makes an appearance, albeit older, slower and portlier," Ms Hanks told The Bookseller.
The audiobook will be released on 1 September, alongside a hardback book, The Tale of Kitty-in-Boots and Other Stories, illustrated by Sir Quentin Blake.
Sir Quentin was chosen because "he understands the rebelliousness of animal characters and doesn't patronise children, which was one of Potter's bugbears", Ms Hunt said.
The book will be published by Frederick Warne & Co, Potter's original publisher. and is part of this year's celebrations of the author's 150th birthday.


German customs officers have seized packages containing Syrian passports and police suspect they are being sold illegally to asylum seekers.

A finance ministry official said both genuine and forged passports were in the packets intercepted in the post.
Germany is letting Syrians register for asylum regardless of where they entered the EU. As refugees from the Syrian civil war, most have a right to asylum.
The passports can help fraudulent claimants to get asylum, the EU says.
The ministry official declined to say how many Syrian passports had been found in the customs checks. The German police are now investigating.
The EU border agency Frontex says trafficking in fake Syrian passports has increased, notably in Turkey.
A Frontex official, Fabrice Leggeri, told French radio station Europe 1 that "people who use these fake passports mostly speak Arabic.
"They may come from North Africa, the Middle East, but they have the profile of economic migrants," he said.
Germany has by far the highest number of asylum applicants in the EU, many of them Syrians and Afghans, but many also from the western Balkan countries.
Turkey is a major transit country for refugees and other migrants heading for the EU, and is also housing more than two million Syrian refugees in camps.


A Cornish grandmother serving a 20-year prison sentence for plotting to murder her lover has failed in the Court of Appeal to clear her name.

Margaret James, 64, of Porthoustock, was convicted in 2006 of conspiring to kill Peter Solheim, 56.
He disappeared in June 2004 and his mutilated body was later found floating five miles off the Lizard.
Her appeal against conviction was rejected by three Court of Appeal judges.
No-one has been convicted of murdering parish councillor and Druid community member Mr Solheim.
The father of two had been drugged and mutilated with a machete or axe before he died from drowning.
The court heard that James met Mr Solheim in September 1995 through a dating column and they started a relationship.
But he also continued a 20-year relationship with another woman.
Prosecutors said James feared that Mr Solheim was about to leave her.
Evidence was put forward by a witness at the trial of her having spoken about finding a tasteless poison with which to lace his food and kill him.
In the appeal hearing in London, her legal team argued that the evidence was "hearsay" and should never have gone before the jury.
It was also argued that further information, not seen by lawyers for James, might now be available which could help her in an appeal against the conviction.
Rejecting the arguments, the judges said when put alongside the other evidence in the case the grounds of appeal did not make the conviction unsafe.


The police search for a prisoner who escaped from a private security firm's van after a hospital visit is focussing on the Lanarkshire area.

One guard was knocked out and another hurt when Anthony Ferrie, 33, jumped from the G4S vehicle near Livingston's St John's Hospital on Thursday.
Police said efforts to trace the prisoner were centred on his home town of Bellshill and the surrounding area.
The have appealed for anyone with information to come forward.
Ferrie was being held at Addiewell Prison in West Lothian.
He is described as white, 6ft tall and of slim build. He was wearing a blue sweater, jeans and trainers.
Members of the public have been warned not to approach him.
Det Insp Paul Batten said: "Ferrie is from Bellshill and whilst we are carrying out some inquiries in West Lothian, most of our work is happening in Lanarkshire.
"The investigation is using both local and national Police Scotland resources, and liaison with partners, to try to locate Ferrie as quickly as possible and return him to custody.
"I would urge anyone who may know of his whereabouts to contact police immediately."


An off-duty police officer has died after getting into difficulties in the sea off the coast of Sussex.

PC Steven Williams, 29, who was based with the British Transport Police at Finsbury Park in north London, had gone into the sea off Brighton beach.
He entered the sea at Kings Road Arches on Sunday at 23:40 GMT. A woman who went into the water to help him managed to get out and raise the alarm.
He was rescued after a major air and sea search but died later in hospital.
Chief Constable Paul Crowther said: "Steven had his whole career ahead of him and he will be terribly missed by his colleagues and friends here.
"As we can all imagine this is going to be a very difficult time for those who knew him, so I ask that we all pull together to support each other."


Alton Towers is closed for a third full day as investigators assess the cause of a rollercoaster crash in which 16 people were injured, four seriously.

People on the Smiler ride were trapped 25ft (7.6m) up at an angle of 45 degrees for up to four-and-a-half hours when two carriages collided on Tuesday.
It was 11 minutes before emergency services were called.
The theme park is estimated to be losing up to Â£500,000 every day since closing.
The worst injured were textile design student Joe Pugh, 18, of Barnsley, South Yorkshire; his girlfriend, Leah Washington, 17; Daniel Thorpe, 27, a hotel assistant manager from Buxton, Derbyshire; and Vicky Balch, 19, of Leyland, Lancashire.
Mr Thorpe is being treated at University Hospital Coventry and the other three are being treated at Royal Stoke University Hospital.
Alton Towers said it was reviewing its closure decisions on a daily basis.
Theme park bosses were informed of the accident on Tuesday at 13:57 BST, but ambulance crews said a 999 call was not made until 14:08 BST.
Alton Towers said one of its first responders was soon on the scene and security staff would have called 999 as soon as an assessment had been made.
Crews from West Midlands Ambulance Service arrived on the scene at 14:35 BST and they called the fire service at 14:41 BST.
Fire crews were not initially requested by Alton Towers but the park's staff did put their own call in requesting their assistance at 14:45 BST, the fire service said.
Since opening two years ago the Â£18m Smiler rollercoaster, which boasts a world-record 14 loops, has been closed twice because of safety concerns.
An Alton Towers spokeswoman said two hotels, including an indoor water park in one of them, and woodland lodges, remained open, but the theme park was closed.
The park said that anyone with pre-booked tickets would be able to visit Thorpe Park, Chessington World of Adventures, Warwick Castle or Legoland Windsor as an alternative.


Two teenage girls have been rescued by the coastguard after being trapped on rocks near Bangor, County Down.

It is understood that they had been stuck on the rocks at Ballymacormick Point for a number of hours.
The alarm was raised at about 21:00 BST on Tuesday. Bangor coastguard rescue team, the coastguard helicopter and Bangor lifeboat were deployed.
The girls, who are both 15 years old, were treated by paramedics for the effects of cold.
Ryan Gray from the coastguard said: "It's quite a difficult area to get a boat in there should we need to, which is part of the reason that the coastguard rescue helicopter was tasked.
"The girls had gone for a walk but had gone out too far and the tide had come in around them."
At one point it is believed the teenagers were waist-high in water.
"The girls were found very quickly and were brought back very quickly," Mr Gray added.
"They were very appreciative of the emergency services."
Following treatment the girls returned home.


Flooding and landslides triggered by Typhoon Fanapi have now killed 54 people and left at least 42 missing in southern China, state media said.

Guangdong province experienced its heaviest rains in a century as the typhoon moved slowly westwards after making landfall on Monday.
More than 78,000 people in low-lying areas were evacuated and one million affected, officials said.
Meteorologists say the typhoon is the strongest to have hit China this year.
The China Meteorological Administration (CMA) has forecast more heavy or torrential rains for parts of central and western parts of Guangdong.
All of the dead were from Guangdong province, where some areas had reported rainfall of more than 640mm (25in) over the previous 24 hours, according to the state-run Xinhua news agency.
Subsequent flooding and landslides had destroyed more than 1,400 homes and inundated more than 30,000 hectares of cropland, it added.
Economic losses were estimated at about 2bn yuan ($298m).
"Heavy rain cut off traffic and communications in the three worst-hit cities of Gaozhou, Xinyi and Yangchun," said He Guoqing, deputy chief of the flood control headquarters.
Relief teams had been sent to the cities to help the thousands of people believed to be stranded there, Mr He added.
Xinhua said the dead included five people killed when a dam at the Xinyi Yinyan tin mine in Xinyi city was hit by a landslide and collapsed.
In southern Taiwan, two people died after Typhoon Fanapi caused flash floods. Tens of millions of dollars of damage was done.


British number three Heather Watson beat defending champion Dominika Cibulkova in straight sets to reach the last 16 at Eastbourne.

Watson, ranked 126th in the world, beat fourth seed Cibulkova 7-5 6-4 in an enthralling contest.
Compatriot Naomi Broady was beaten 6-2 6-7 (7-9) 6-1 by Czech Kristyna Pliskova, ranked 44th in the world.
In the men's draw, British number two Kyle Edmund was knocked out, but countryman Cameron Norrie won.
Edmund, 22, was beaten 6-4 3-6 6-3 by American world number 47 Donald Young.
Norrie, meanwhile, beatArgentine Horacio Zeballos 6-4 7-6 (7-4).
The 21-year-old world number 236 was one of seven Britons who last week received a wildcard entry to the main draw at Wimbledon.
Find out how to get into tennis in our special guide.
Watson was made to work hard for her victory, with Cibulkova saving three match points and breaking her opponent's serve late in the final set.
But the Briton held her nerve to oust the world number nine in one hour and 42 minutes.
She sent down eight aces and won 69% of the points on her first serve to set up a meeting with either Russia's Anastasia Pavlyuchenkova or Belgian Elise Mertens.
"The atmosphere was incredible, I was getting goosebumps at the end," Watson told Eurosport. "I got a little nervous but I'm pleased I got through it in that last game.
"She's a hard worker and a fighter so I knew it was never going to be easy. She's very aggressive but I'm OK with that. I have some wheels so I've got to use them."
Edmund began strongly on Centre Court but it was Young who broke first to go 5-4 up and then went on to serve out the set.
The Briton hit back in the second, securing the first break at 1-3 and winning four consecutive points in the final game to force a deciding set.
However, Young proved too strong as Edmund lost his rhythm in the closing stages.
Edmund, who was beaten in the first round at Queen's by teenager Denis Shapovalov, has lost 13 of his past 16 matches on grass courts.


Large crowds have turned out in the Scottish capital for this year's Pride Edinburgh event.

The lesbian, gay, bisexual, transgender and intersex (LGBTI) festival was first held 21 years ago in Scotland.
Those attending paid tribute to the victims of last month's shooting at a gay nightclub in Orlando, Florida.
Speeches were made outside the City Chambers before the march set off, with Scotland urged to "reject the politics of hate and division".
The parade started a little later than in previous years because of the official opening of the fifth session of the Scottish Parliament by the Queen.
The rainbow flag was raised at Holyrood to mark the event.
Politicians including Scottish Labour leader Kezia Dugdale and Liberal Democrat leader Willie Rennie were in attendance at Pride after the opening of parliament.
Ms Dugdale spoke before the march headed off and said: "I'm here to march with you today in pride and solidarity for those who lost their lives in Orlando who we continue to grieve for today.
"We march in pride and anger at all those countries around the world where it is still illegal to be gay and we must redouble our efforts every single day to change that."
SNP MEP Alyn Smith, who was given a standing ovation after a speech in the European Parliament this week, also spoke to the thousands gathered.
He said: "Scotland is a great place to be but there are a lot of people feeling nervous in Scotland right now about where the UK's going after a vote to leave the European Union which Scotland rejected emphatically.
"Pride is important to celebrate where we are but also to remember how hard we had to work to get here and to remember that change is not irreversible.
"Let us say loudly and proudly that Scotland rejects the politics of hate and division and we are a welcoming European nation."
The marchers headed down the Royal Mile and past Holyrood then took a route through Abbeyhill towards Leith Walk and The Omni Centre.
The centre and nearby venues were hosting various events, with the main stage is situated in the Jam House venue.
This is the first major Pride event in Scotland since 49 people were killed in the terror attack at the Pulse nightclub in Orlando on June 12.
Brett Herriot, chair of the Pride Edinburgh committee, said: "We have Orlando in the forefront of our minds this year.
"The entire event is dedicated to them. One of our venues is having a tribute to them where all 49 names will be displayed."
Hundreds of people attended vigils in Glasgow and Edinburgh in the days after the massacre.
Last Saturday, thousands gathered in London amid increased security to celebrate Pride in the UK capital.


The United Nations human rights council is to investigate alleged human rights abuses by Myanmar's army against the country's Rohingya Muslim minority.

Some 70,000 Rohingya have fled Myanmar into Bangladesh in the last six months, and the UN has gathered accounts of gang rapes and mass killings.
A Burmese official said the move was "not acceptable" as Myanmar was carrying out its own investigation.
China and India did not back the decision, however.
The two countries said they would "disassociate" themselves from the UN probe.
The UN resolution, which was brought by the EU and adopted by consensus, decides "to dispatch urgently an independent international fact-finding mission", with a view to "ensuring full accountability for perpetrators and justice for victims".
The Rohingya say they are being targeted amid a military crackdown on insurgents in Myanmar's western Rakhine state. The campaign was launched after nine border policemen were killed in an attack in October.
Last month, the UN published a a damning report compiled after interviews with more than 200 Rohingya refugees who fled from Myanmar to Bangladesh.
Nearly half of those interviewed by the UN said a family member had been killed. Of 101 women interviewed, 52 said they had been raped or experienced sexual violence from the security forces.
The report included accounts of an eight-month old and a five-year-old being slaughtered with knives as their mothers were raped.
The new investigation is at a lower level than the Commission of Inquiry which United Nations special rapporteur on rights in Myanmar, Yanghee Lee, had been seeking. She has accused Myanmar's security forces of committing crimes against humanity.
The team of investigators is expected to give an update in September and to publish a full report in a year's time.
The BBC's Myanmar correspondent Jonah Fisher says the country may still block the investigation.
Aung San Suu Kyi, the Nobel peace laureate and former democracy activist leading the new civilian government, will have to choose between upsetting the powerful Burmese army or defying the wishes of the increasingly concerned international community, he says.
A spokesman for her party recently said the abuse allegations were "exaggerated" and an "internal" not "international" issue.
The Rohingya say they are descendants of Arab traders and other groups who have been in the region for generations, but Myanmar's government denies them citizenship and sees them as illegal immigrants from Bangladesh.
About one million Rohingya are estimated to live in western Rakhine state, where an outbreak of communal violence in 2012 saw more than 100,000 people displaced.
Tens of thousands of Rohingya remain in camps where conditions are poor and travel is restricted.


More than £1.5m is to be invested in improving safety for cyclists in Nottingham.

The news has been welcomed by triathlete James Corlett, from Mapperley, who said educating road users was also important.
The city council said funding for cycle lanes around Dunkirk, Mansfield Road, and the River Lean corridor in Basford has been secured.
The authority is also applying for £6m from the Department for Transport.
Mr Corlett, who has represented Team GB at amateur level, said he has had several near misses whilst cycling in the city.
He said: "It's a good investment but I also think there needs to be a whole package.
"We need to educate people better, not only car drivers but there some absolute idiots on bikes too."
Councillor Jane Urqhart, who is responsible for transport in the city, said areas where safety needs to be stepped up are constantly reviewed.


Australia's Olympic swimmers existed within a "toxic" team culture that led to bullying and misuse of prescription drugs, a report has found.

The review was ordered by the sport's governing body after Australia's swimmers saw their worst Olympic performance in two decades last year.
It found standards and discipline were "too loose", and incidents of "intimidation" were not addressed.
There was a "dire need" for stronger leadership, the report found.
Australia's swimmers won just one gold medal at London 2012, far short of previous medal hauls at other recent Olympics.
The most significant issue, the report found, was a "quietly growing lack of focus on people across the board".
"Participants reported that in the zealous and streamlined attempts to obtain gold medals, the delicate management of motivation, communication and collaboration were lost."
There was an "increasingly desperate emphasis on gold", the report said, and morale dropped as the games unfolded without the anticipated medal haul.
Management appeared unprepared to tackle the absence of success, it said, leaving swimmers feeling "undefended, alone, alienated".
"Swimmers described these games as the 'Lonely Olympics' and the 'Individual Olympics'," the report said, adding that the lack of cohesion meant that poor behaviour went unchecked.
"Some individual incidents of unkindness, peer intimidation, hazing and just 'bad form' as a team member that were escalated to personal coaches were not addressed," it said.
"There were enough culturally toxic incidents across enough team members that breached agreements (such as getting drunk, misuse of prescription drugs, breaching curfews, deceit, bullying) to warrant a strong, collective leadership response that included coaches, staff and the swimmers."
"No such collective action was taken," the report said.
There was a "dire need to develop and enable leadership" throughout the sport, it concluded, listing recommendations that included leadership training for coaches and setting parameters for athletes' behaviour.
Responding to the report, Swimming Australia head coach Leigh Nugent said efforts were needed to address the way teams were operated.
"It is a pretty emotive word, 'toxic'. Behavioural issues weren't overtly obvious that I saw and I think we are going to be addressing all those things within the ethical framework that has been developed," the Australian Broadcasting Corporation quoted him as saying.
"There is a massive willingness for everyone to pull together to make this a better team for the future."
The revelations come in an unhappy two weeks for Australian sport, reports the BBC's Nick Bryant in Sydney.
Earlier this month, the government released a report from the country's crime commission containing allegations of "widespread" doping across a range of sports, but mainly Australian Rules Football and rugby league.
This is another damaging blow to the country's sporting reputation, our correspondent says.


More than 20,000 people attended events held in Inverness over the weekend.
The Inverness Highland Games took place on Saturday and the Inverness Gala and a Bryan Adams concert on Sunday.
The weekend was one of the busiest of the year for the city.
It saw heavies' events such as tossing the caber and hammer throwing as well as shinty competitions and music from pipe bands.
Crowds will return this weekend for a concert by singer Olly Murs.


Producing fresh drinking water from the sea - desalination - has always seemed to be the most obvious answer to water shortages.

Our oceans cover more than 70% of the earth's surface and contain 97% of its water.
But the energy needed to achieve this seemingly simple process has been costly.
Now, thanks to new technologies, costs have been halved and huge desalination plants are opening around the world.
The largest seawater desalination plant ever, Israel's Sorek plant near Tel Aviv, just ramped up to full production.
It will make 624 million litres of drinkable water daily, and sell 1,000 litres - equivalent to a Brit's weekly consumption - for 45p.
Nearby in Saudi Arabia, the Ras al-Khair plant reaches full production in December.
Based in the peninsula's Eastern Province, it will be even bigger and will speed a billion litres a day to Riyadh, whose population is growing fast. A linked power plant will yield 2.4 million watts of electricity.
Then over in the US, San Diego's Carlsbad desalination plant - the country's largest - will be operational from November.
The traditional way to extract drinking water from sea or brackish water is to boil it then collect the evaporated water as a pure distillate.
This uses a great deal of energy, but works well if combined with industrial plants that produce heat as a by-product.
Saudi Arabia's new desalination plant pairs with a power plant for this reason.
But reverse osmosis - a technology that has been around since the 1960s - uses less energy and has been given a new lease of life in recent years.
This involves pushing salt water at high pressure through a polymer membrane containing holes about a fifth of a nanometre in size. A nanometre is a billionth of a metre. The holes are small enough to block the salt molecules but big enough to allow the water molecules through.
"This membrane strips all the salts and minerals completely from the water," explains Professor Nidal Hilal at Swansea University, editor-in-chief of the journal, Desalination.
"You have clean water coming down as permeate, the concentrate on the other side is brine, with high salt content."
But these membranes could get easily clogged and lose performance.
Now, better materials technology and pre-treatment techniques keep them working more efficiently for longer.
And in Israel, Sorek's designers saved energy by using double-sized pressure vessels.
"You then need fewer pressure vessels to generate the water, meaning fewer pipes and fewer connections," says Dr Jack Gilron, head of Desalination and Water Treatment at Ben Gurion University.
Researchers at the Massachusetts Institute of Technology (MIT) in the US have even experimented with semi-permeable membranes made from atom-thick graphene.
These should need a lot less pressure to work, thereby saving energy, although the technology is not ready for mass production yet.
Forward osmosis, according to Professor Nick Hankins, chemical engineer at the University of Oxford, is an alternative way to remove the salt from seawater.
Rather than pushing the fresh water through the membrane, a highly concentrated solution is used to draw it through, effectively sucking it from the sea water.
Afterwards you remove the diluted solutes, yielding pure water.
"If you design your draw solution in a very clever way, it can be possible to separate water out with very little energy," he says.
Another potential method is capacitive deionisation - essentially a magnet for salt.
Dr Michael Stadermann of California's Lawrence Livermore National Laboratory, believes "we should be able to do brackish water desalination at between half and a fifth of the energy of reverse osmosis".
That's if the technology makes it out of the laboratory.
One issue with desalination is what to do with the leftover salt.
Water in the Persian Gulf historically was 35,000 parts per million (ppm) salt. But according to the United Arab Emirates' Ministry of Environment and Water, some areas nearest desalination plants now measure 50,000ppm.
"You have to make sure the very salty water is pushed away far enough into the sea that you don't have recirculation of the water, because otherwise it will be getting saltier and saltier," says Floris van Straaten of Finnish engineering company Poyry, the firm overseeing construction of the Ras al-Khair project.
Jessica Jones from Poseidon Water, the firm building California's Carlsbad Desalination Plant, says: "Our plant is co-located with a power plant which uses sea water for cooling. Our discharge gets blended in, so by the time it goes into the ocean, the salt has been dispersed."
But US environmental groups have fought construction of new desalination plants in the courts, saying the consequences of reintroducing brine to the ocean have not been adequately studied.
"And when water is being drawn from the ocean, it brings fish and other organisms into the machinery - and that has an environmental and economic impact," says Wenonah Hauter, head of Food and Water Watch in Washington DC.
Desalination may be getting cheaper but it is still prohibitively expensive for poorer countries, many of whom also suffer from water scarcity.
More than two-fifths of Africa's 800 million people live in "water-stressed" areas, defined as providing less than 1,700 cubic metres of water per person, taking the needs of industry and agriculture into account as well.
And the United Nations predicts that in 10 years 1.9 billion people will live in water-scarce areas - struggling on less than 1,000 cubic metres of water each.
What water-stressed regions most need is a desalination device than can supply 100 to 200 people - the size of a village.
Capacitive desalination is one potential solution, as is solar-powered desalination, with costs reducing threefold in 15 years.
So while desalination has gone big in wealthier countries, it also needs to go small to benefit those unlucky enough to be poor in both money and water.


Hundreds of workers have been tested for drugs after a syringe was found on a flotel next to a North Sea platform.

BP said the syringe was found onboard the Safe Caledonia flotel, next to the Etap platform, on 15 April.
A spokesman said: "There are, of course, a number of medical reasons why a syringe may be required by personnel.
"In line with our zero tolerance policy for substance misuse, we have chosen to the take the precautionary step of testing all those onboard."
Most of the 447 people on both installations have now been tested.
Two people have returned onshore for further examination.


Ian Rankin may set almost all of his novels in his home city of Edinburgh, but the crime writer has plenty of connections to Northern Ireland.

"My wife grew up in Belfast during the Troubles and I started coming to Northern Ireland in 1981," he said.
"We were at university together when we started dating, and her mother, two brothers and sister are all here, so we come to Northern Ireland quite a lot."
As a result, he regularly visits Belfast, often giving readings at a bookshop on the city's Botanic Avenue.
And those connections meant that when he began to write about the brilliant maverick Edinburgh detective John Rebus, he gave him a past in Northern Ireland before he joined the Scottish police.
"It was picked up in one or two books that Rebus served time in the Parachute Regiment and served time in Northern Ireland," he said.
"That gave me a wee bit of a plot in one of the earlier books, but in the first couple of books I was still getting to know him, so having created that back story for him, I've got to remember 20 or 30 years on that that is his story."
The latest of more than 20 Rebus novels has just been released and Rankin is in Belfast to introduce Even Dogs in the Wild to his many Northern Ireland fans.
John Rebus is nearly 70 in the book, but, though retired, he cannot let his career fighting crime go.
His life has also become increasingly intertwined with his long-time nemesis, gangster 'Big' Ger Cafferty, as he investigates a threat to Cafferty's life.
"They're like Cain and Abel - you never know if they'll become best friends or kill each other," he said.
"Cafferty's always had a moral code, although he's a gangster, but he now sees himself as dinosaur or an old boxer who has one fight left in him and Rebus feels the same.
"These guys are being sidelined by life, but they keep wanting to punch back."
Readers of the series will know that the obsessive Rebus rarely takes a break, but when he does one of the few pastimes he has is listening to music, often alone late at night in his flat.
And when he puts a record on, it is likely to be by a very famous Northern Ireland musician, which has led to a relationship away from the page.
"Van Morrison got to know that I was a fan of his music, so he asked me to pen the introduction to his lyrics when he was bringing a book of them out last year," he said.
"To promote that, he then asked if I would interview him on stage at three concerts - we did London, Dublin and then Belfast.
"I interviewed him for half-an-hour on stage in Belfast - people were crying in the audience, they'd never heard Van speak for half-an-hour before," he laughs.
"That was terrific, and then he invited me across for his 70th anniversary concert on Cyprus Avenue."
"I got to sit and watch him in the sun at the end of August, so it was a memorable occasion."
Rankin said he also enjoys reading Northern Ireland crime writers like Adrian McKinty and Colin Bateman.
Rebus may now be picking up his pension, but the character still has plenty of life.
"I can see one or two books in which I can write him almost like a private eye," the author said.
"He can't chase crooks or stand up to the hard men anymore, so he's got to use his wit and his guile.
"I quite enjoy that, the fact he has to live on his wits rather than by his physical presence."


Police have urged music fans to "have fun but keep themselves safe" at this year's Eden Festival.

A record crowd of 9,000 is expected at the event on the Raehills Estate near Beattock from 8 to 11 June.
Supt Irvine Watson said everyone involved had put in a "huge amount of work" to ensure it would be another "tremendous festival".
He said police would be working in "all areas of the venue" with stewards to "keep everyone safe".
''Our priority is to ensure the safety and well-being of our communities, including the community that gathers for the weekend at the Eden Festival," he said.
"We want people to have fun and enjoy what is sure to be another excellent festival.
"Security is constantly under review at all our major events in Dumfries and Galloway."
He said police worked closely with organisers to ensure there was "appropriate security" at every event.
"At the same time we want those attending the festival to look after themselves, have respect for others and be mindful that what is against the law in Scotland is also against the law within any festival venue in Scotland," he said.
"Police Scotland will adopt the same pro-active approach to the dealing and misuse of drugs at the Eden Festival as we do across the rest of Scotland."
He added that part of the condition of entry to the festival was that New Psychoactive Substances (NPS) - also known as "legal highs" - were not permitted on the site.


Neil Young has been sounding the alarm about environmental issues for more than 40 years.

He sang about "mother nature on the run" on 1970's After The Gold Rush. Two decades later, he warned that pollution and deforestation would "trade away our children's days" on Mother Earth.
The latter is reprised on his new album, Earth, an environmentally-themed live album that - unusually - overdubs his performances with the sounds of the animal kingdom, from bees to buzzards; and cows to cockerels.
It sounds like folly, but the effect is strangely mesmerising - as if the stage is slowly being invaded and overrun by the natural world.
"It's about the connectivity of everything," Young tells the BBC. "Trying to be cognisant of how living things are affected by what we do."
"This is something that matters to me. The more people that pay attention to activism and environmentalism, the better off we're going to be.
"I mean, we're in kind of dire straits as far as the governments go. It's really down to the people."
Young's frustrations with government are far from secret, of course. He publicly remonstrated Donald Trump for using his music on the campaign trail - saying he would never "endorse hate, bigotry, childish name calling, the superficiality of celebrity or ignorance".
But his dissatisfaction runs deeper than one candidate. He is disillusioned with the entire political process.
"If corporate money and television advertising [are] the only way to really get elected, then you have a way where democracy can be corrupted by power - and that's what we have in the United States," he says.
"That results in decisions being made that are written by corporations, that the legislators pass as law. Things like the anti-labelling campaigns of the GMO (genetically modified organism) manufacturers. Things like that."
The star's anger at agribusiness - and patented, genetically-modified seeds in particular - fuelled his last album, The Monsanto Years.
"The seeds of life are not what they once were / Mother Nature and God don't own them anymore," he sang on the title track; while Big Box took aim at big business in general - "Too big to fail / Too rich for jail".
Both songs are revived on Earth, with Young's fury fuelling the gritty live performances. Several of the songs have subsequently been augmented in the studio, with Young adding a chorus of perfectly-harmonised singers to emphasise key lyrics. They represent the sound of "corporate harmony", he says.
"Aren't they perfect and beautiful? It's a little bit disturbing how good they are.
"You know as soon as you hear them, that you can't believe it - but you need to listen to them over and over again because they've hooked you."
And those animal sounds? Young largely recorded them himself.
"I do listen a lot to nature," he says. "Where I live, the birds are very vocal."
The star's connection to nature runs deeper still. Since the late 1970s, he has only recorded music in the week leading up to a full moon (although, being a live album, Earth is an exception).
"It's kind of paganistic [but] it is productive," he says. "As I look back over the archives, the dates coincide.
"A lot of people on Earth go by the moon, whether they know it or not. Planting seeds or cutting your hair - do things at the right time and there's a difference."
But Young isn't deluded about his abilities. Inspiration is "like a flame that burns and then goes out", he says.
"I look at it like there's an energy that floats around. Sometimes some people have it, and sometimes other people have it.
"Like, Adele had it for a period of time and really held it in her hand and was doing great things with it. I hope she gets to hold onto it - but no-one can hold onto it for long.
"It's just kind of a crapshoot, really."
Nonetheless, since his beginnings with Buffalo Springfield 50 years ago, Young has carved out one of the longest and most vital careers in rock. His writing is perhaps more uncompromising now than it was in his most commercially-successful period, with After The Gold Rush and Harvest in the early 1970s.
Later this year, he will take the stage with five other rock legends - including Bob Dylan and Sir Paul McCartney - at the Desert Trip festival in California.
The event is expected to have the biggest box-office takings in concert history, but Young (who turned down $1m to headline Woodstock in 1994) plays down the significance of the show.
"I know nothing about it really. I've been asked to do a gig, and I'm going to do it," he says.
"It's great they asked me to play with all those artists. That's wonderful, it's a great honour to play with all of them. But aside from that, it's just another gig."
Earth is released on 24 June by Warner Bros Records. Neil Young was speaking to BBC Breakfast; and Cerys Matthews for BBC 6 Music.


A supporter who racially abused Nice striker Mario Balotelli has been given a stadium ban by Ligue 1 side Bastia.

The ex-Liverpool and Manchester City forward, 26, posted on social media to say he had been subject to "monkey chants for the whole game" in Friday's 1-1 draw.
Bastia said "a man in his 40s" had come forward himself after the French Football League began an investigation.
Nice midfielder Alassane Plea confirmed he had heard the racist abuse.
Bastia added in a statement: "Regretting his attitude and aware of the repercussions, this person responded to our appeal and came to the stadium on Tuesday.
"Acknowledging he was responsible for the incriminating chants, he has been notified of the deactivation of his season ticket along with a general ban from the Stade de Furiani."
Balotelli has scored 10 goals in 15 games for Nice since joining on a free transfer from Liverpool in August.


Japanese engineering giant Mitsubishi has joined forces with German firm Siemens to come up with a fresh offer for France's Alstom.

The companies are squaring up against US firm General Electric, which also wants to acquire Alstom assets.
Siemens and Mitsubishi will decide on a proposal to Alstom's board by 16 June.
Both Siemens and General Electric have been courting the French government over a possible deal.
Mitsubishi chief executive Shunishi Miyanaga said the company had been "invited by Siemens to join forces and we firmly believe that we can substantially contribute to a partnership solution for Alstom which will create value for all parties involved, including the country of France".
General Electric (GE) has offered $16.9bn (Â£10bn) for Alstom's energy business. Reports on Wednesday suggested that Mitsubishi and Siemens may make a rival offer for the energy business.
In May, GE pledged 1,000 new jobs in bid to secure a deal with Alstom.
The French government, which can block foreign takeover bids for companies deemed "strategic", has made job preservation a priority at Alston, which is one of France's key industrial firms.
Some analysts believe the government will give a cool response to the latest move, fearing it would mean the break-up of Alstom.
Christopher Dembik, an analyst at Saxo Banque, said: "When you look at the offer in detail you are convinced it will mean the complete dismantlement of Alstom which the government fears.
"Such an offer has two problems: first the question of control of the nuclear activities and then we are far from the famous Franco-German energy giant," he said.
French President Francois Hollande will hold a meeting on Thursday morning to review developments on the sale, said Economy Minister Arnaud Montebourg.
Alstom had to be bailed out by the French government in 2004, and has suffered heavy debts and a fall in orders over the past 10 years.


A man who eluded capture in the forests of Pennsylvania for seven weeks after the fatal shooting of a police officer has been found and arrested.

Hundreds of officers combed woodland for survivalist Eric Frein, who was on the FBI's most wanted list.
He was finally found at an abandoned airport hangar on Thursday. Prosecutors say he could face the death penalty.
Frein is accused of killing Cpl Bryon Dickson outside a barracks on 12 September and wounding another officer.
Pennsylvania Governor Tom Corbett said at a news conference that Mr Frein was taken away in the handcuffs that belonged to Cpl Dickson.
The 33-year-old was described by police as a survivalist who was armed and extremely dangerous.
While his motivation for the attack remains unknown, police say he had made threatening statements online against police officers.
"Eric Frein had a mission and that was to attack law enforcement," Pennsylvania State Police Commissioner Frank Noonan told reporters after his capture.
Images released to the media after Frein's arrest show the suspect with a swollen nose and cut above his eye.
Police said he quietly surrendered to approaching officers at the aircraft hangar of a closed resort in Tannersville, some 30 miles (48 km) away from the barracks where he was accused of shooting Cpl Bryon Dickson.
Schools in the area were closed at times during the manhunt, and residents warned to stay indoors.
Police used dogs, thermal imaging technology and even a hot air balloon to scour the dense woodland in the north-east of the state of Pennsylvania.
Several items believed to be his were found by police in the woods - empty packs of Serbian cigarettes, an AK-47-style assault rifle and ammunition, and a journal that offered a chilling account of the ambush.
Mr Frein had been added to the FBI's 10 Most Wanted List and $175,000 (Â£107,000) was offered for information leading to his capture.


The cause of overcrowding in Irish hospitals is down to a delay in discharging patients, the Health Service Executive has said.

The director general blamed the problem on the numbers whose phase of acute care had ended but who could not be placed elsewhere.
Tony O'Brien said it was concentrating on "clearing away red tape".
A nursing union said that 563 patients were waiting for admission across the Republic of Ireland on Monday.
Mr O'Brien said since December the HSE had been focussing on ensuring as many patients as possible, whose acute care had ended, could receive the subsequent care appropriate to them.
Speaking on RTÃ‰'s Morning Ireland, he said the executive was working closely with Nursing Homes Ireland.
On the issue of patient safety, Mr O'Brien said he was very clear that "reducing the level of overcrowding will increase safety and that's why that's our number one priority right now".
When asked if hospitals are safe at the moment, Mr O'Brien said there are 28 different emergency departments with different stresses and refused to give a "general glib answer".
According to a nursing union, the worst affected hospitals on Wednesday were Our Lady of Lourdes Hospital, Drogheda,  where about 42 patients were waiting, University Hospital Limerick with 40 patients and Connolly Hospital in Dublin which had 37 patients waiting.
Phil NÃ Sheaghda  of the Irish Nurses and Midwives' Organisation said overcrowding was a capacity issue and that all 2,000 closed beds in hospitals around the country need to be opened immediately.
Irish Minister for Health Leo Varadkar is expected to make a statement on the overcrowding issue when he returns to Ireland later.
On Tuesday, it was revealed that nurses at Dublin's Beaumont Hospital were to serve notice of industrial action as a result of hospital overcrowding.


Claims a diver rescued in the Pentland Firth could have been found much sooner if local advice had been followed have been rejected by the Marine and Coastguard Agency.

Ivan Doychev was rescued in May after spending 11 hours in the water.
Fisherman Hamish Mowatt said at the time rescuers were directing the search in the wrong area.
The MCA reviewed the operation and said it had used search planning software and local knowledge.
The 40-year old scallop diver from Bulgaria was reported missing by the dive boat Fair Morn.
He was eventually rescued by a passing sail training vessel.
Fisherman Mr Mowatt, from South Ronaldsay, has fished in the Pentland Firth for more than 40 years.
He told BBC Radio Orkney at the time that the diver had been found "despite the search operation not because of it".
The MCA said: "The search plan for the incident took into account information from our own search planning software as well as detailed knowledge received by local lifeboat crews and fishermen.
"We are grateful that Mr Mowatt contacted us during the search and rescue mission - it was the right thing to do and we would encourage anyone with information on an incident to do exactly the same."
Mr Doychev said he was kept going by the sight of helicopters and boats searching for him as he drifted in the Pentland Firth.


Poppyscotland has released 46,000 poppy petals from the top of the National Wallace Monument to commemorate the end of the Battle of Arras.

Each petal represents a Scottish soldier who lost their life or was wounded during the 1917 conflict.
The battle saw the greatest concentration of Scottish battalions of any during the World War One.
The event included a commemorative service led by the Royal British Legion Scotland (Legion Scotland).
Poppyscotland's head of fundraising, Gordon Michie, said: "The sight of thousands of poppy petals gently fluttering to earth was a dramatic and fitting way to mark the centenary of the Battle of Arras.
"It was also a moment to remember those for whom the poppy is a symbol of hope today and to show our support for the Armed Forces community living in Scotland.
"We were delighted so many were able to come along and witness the poignant spectacle of the Arras Petal Cascade."
The Battle of Arras was fought in April and May 1917 to support a French offensive on the Aisne by diverting large numbers of German reserves to the north.
Three Scottish infantry divisions took part in the assault and 44 of the 120 participating British infantry battalions were from Scottish regiments.


BP has shut down one of its oil platforms, about 75 km to the west of Shetland, because of a leak.

Oil was released into the water from the Clair platform on Sunday morning.
The size of the leak is unclear, and efforts are under way to ascertain whether it has caused damage to the environment.
BP said it was caused by a "technical issue" and an investigation into what happened was under way.
No-one was injured.
The UK Government's Department for Business, Energy and Industrial Strategy has been informed and the industry funded organisation Oil Spill Response Limited (OSRL) has also been notified.
It was not immediately clear  how long the platform would remain shut down.
Lang Banks, director of environmental charity WWF Scotland, said the incident highlighted "the dangers posed on a daily basis" by oil and gas operations off the coast of Scotland.
He added: "In the interests of protecting the marine environment, it's important that we understand just how much oil has leaked.
"The platform should certainly not be allowed to restart operations until a full investigation into this incident is completed."


Highland Council is going ahead with a project showing how approaches to Inverness by road might be improved.

A "gateway structure" - a standing stone-like monument - is to be installed at Clachnaharry on the Beauly-Inverness road.
Telford Roundabout and the A82's central reservation at the Longman are to be planted with trees and shrubs.
The council is also to hold a public consultation on how other roundabouts and sites could be spruced up.
The consultation will run for 10 weeks from 6 June.
Highland councillors approved the demonstrator project and the consultation at a meeting earlier this week.


Richard O'Brien is to turn his flop sequel to The Rocky Horror Picture Show into a stage production in London.

Shock Treatment, originally filmed in 1981, was a satire of celebrity, with Rocky Horror characters Brad and Janet trapped in a sinister TV game show.
It was a commercial disaster - The Washington Post called it "ludicrous" - and it never gained a general release.
O'Brien has reworked the story for its stage debut, which will take place at London's King's Head Theatre in April.
"Shock Treatment has been waiting patiently in the wings for a stage premiere since the film was released in 1981," said O'Brien.
"Just as Rocky began life upstairs at the Royal Court, it seems a perfect fit for Shock Treatment to start its stage life in the effervescent atmosphere of the astounding King's Head Theatre."
Before its DVD release in 2006, very few people had seen Shock Treatment. One exception was the BBC's Mark Kermode, who called it  the "perfect cult movie".
"It's arguable the soundtrack album is better than Rocky Horror," he said.
"It's also packed with cameo roles from people on the rise - not just Ruby Wax but Rik Mayall, long before he found big screen fame in Drop Dead Fred.
"But the best thing about Shock Treatment is it eerily predicts the rise of reality television," he added.
Kermode's opinion was in the minority, however. US reviewers lamented the loss of Barry Bostwick and Susan Sarandon, who played Brad and Janet in the original. and branded the film "tiresome" and "junk".
"It's a lesson for film-makers: You can't force a cult film, they just happen," wrote The Washington Post's reviewer, Rita Kempley.
Shock Treatment is preceded at the King's Head Theatre by the 21st anniversary revival of Trainspotting, which was first seen at this year's Edinburgh Fringe.
Other highlights of the theatre's new season include a new play by Richard Cameron, The Flannelettes, and a revival of Gilbert and Sullivan's Ruddigore.