Which TV show went down the tubes...and then got better again?

Sometimes, a television show goes flying off a cliff... and that's it. The characters are too borked, the premise has become a mess, the show's never going to be watchable again. But what TV show went horribly downhill in terms of watchability... and then got miraculously good again?

Please include a picture of your chosen TV miracle. Thanks!