08/14/2011 08:39 pm ET Updated Oct 14, 2011

'Breaking Bad' To Stay On AMC; Sony, Network Agree To Deal (VIDEO)

In the end, Walter White will finish his run in the same place it started.

AMC and Sony TV, the parent network and production company of the hit drama, "Breaking Bad," have come to an agreement that will keep the series on the cabler through the duration of its run. Stuck in protracted negotiations and facing a Monday series license expiration, Deadline reports that the two sides have reached a deal that will see the final 16 episodes air on AMC, potentially over two separate seasons.

In its fourth season, the show has netted star Bryan Cranston three straight Emmys for Best Actor in a Dramatic Series. Earlier in the month, The Wrap reported that rival cable network F/X was approached about taking on the show if a deal with AMC was not reached.

It's another publicly acrimonious deal for AMC; earlier in the year, the network struggled to come to an agreement with "Mad Men" creator Matthew Weiner, with questions of money and running time amongst the points of contention.

"Sons of Anarchy" creator Kurt Sutter last week ripped Weiner and his Emmy-winning show for costing AMC too much money, thusly slashing the budgets for both "Breaking Bad" and "The Walking Dead," which led to disagreements and ultimately the firing of showrunner Frank Darabont.

Creator Vince Gilligan issued a statement through AMC (via HitFix):

It’s a funny irony -- I’d hate to know the date of my own last day on earth, but I’m delighted to know what Walter White’s will be (episodically speaking). This is a great gift to me and to my wonderful writers. It’s knowledge which will allow us to properly build our story to a satisfying conclusion. Now, if we don’t manage to pull that off, we’ve got no one to blame but ourselves.

“Breaking Bad" has been a dream job these past four years. Working with the best cast and crew in television has no doubt spoiled me for future projects. I’m lucky to get to work with them on sixteen more episodes, and I will always be grateful to both AMC and Sony Television, who from the beginning, believed in our show and supported me creatively and professionally. We have been able to take risks with ‘Breaking Bad’ which would not have been possible on other networks.”

For details on the deal, click over to Deadline.