LONDON (AP) -- "Ripper Street" has been rescued.
The Victorian detective drama was canceled by the BBC earlier this year after two seasons because of poor ratings. But after an online campaign by fans, producers announced Wednesday that it will return for a third series through a deal between the British broadcaster and online retailer Amazon.
Filming begins in May on the new series, which will be shown first on Amazon's Prime Instant Video service, before airing on BBC television.
Matthew Macfadyen and Jerome Flynn return as 19th-century police fighting crime in the sordid streets of London's East End in the years after the notorious Jack the Ripper murders.
Amazon's move into TV production follows the model of video streaming service Netflix, which produced the hit political thriller "House of Cards." Netflix also revived comedy "Arrested Development" after it was canceled by network Fox.
BBC drama boss Ben Stephenson said the Amazon deal was "an exceptional opportunity" to bring the show back that would please fans while freeing up BBC money for new drama series.
"Ripper Street" writer Richard Warlow said the partnership between the BBC and Amazon would allow him "to make the show that I always imagined from the very beginning -- with slightly more bells and whistles, actually."
Copyright 2014 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.