Fans of classic and current HBO shows will no longer have to turn exclusively to HBO to stream them online.

HBO and Amazon Prime have announced a deal that will bring HBO shows past and present to the online streaming service as reported by Variety. This deal marks the first time HBO has partnered with an online-only streaming service to license its content to viewers. All of the content currently available on HBO’s in-house streaming service, HBO Go, will continue to stay.

“As owners of our original programming, we have always sought to capitalize on that investment. Given our longstanding relationship with Amazon, we couldn’t think of a better partner to entrust us with this valuable collection,” said HBO’s EVP of business and legal affairs Glenn Whitehead in a statement.

Content available through the new deal, according to Entertainment Weekly, will include full seasons of classic dramas and sitcoms like The Sopranos, The Wire, Flight of the Conchords and Eastbound & Down, full miniseries like John Adams and Band of Brothers and select seasons of current series like Boardwalk Empire and True Blood.

All of these shows will be made available on Amazon Prime starting May 21.