Some fans would be fine with certain television shows going on forever. There is a relationship that is built between the audience and the characters that can evolve into a strong emotional bond.

However, there are times when things must come to an end.

A few shows have managed to go out gracefully while they were still relatively popular. Others have limped along before they were mercifully put to death by the network.

People measure a great finish in different ways. Some look at the number or percentage of viewers. Others look for resolution, or in some cases more ambiguity.

For most, a finale must be something that people talk about the following day and remember into the future. If this is going to be the end, then it had better be good. With that in mind, here are five of the greatest TV series finales of all time ...

MASH finale

No. 5: "M*A*S*H" - Feb. 28, 1983

Was "M*A*S*H" a comedy or a drama? Some people split the difference and call it a "dramedy" because it made people laugh and it also touched their heart at times.

This show portrayed a rag-tag group of doctors and nurses who are trying to deal with the realities of war in an army hospital. Coming after 11 seasons -- eight years longer than the Korean War itself -- the two-and-a-half-hour episode first aired on CBS on Feb. 28, 1983.

The final episode was arguably a bit sappy and at times drew out the long, tearful good-byes that accompanied the end of the war. However, the show had been on for a long time, so it was probably fitting that it pay tribute to itself.

Fans made "Good-bye, Farewell and Amen" the most-watched show in television history with more than 100 million people tuning in -- a record that stood until Super Bowl XLIV in February 2010.

After watching a show like that, some people may have needed to stop by their favorite bar for one last drink ...

Cheers Cast

No. 4: "Cheers" - May 20, 1993

The show "Cheers" provided people with a warm, friendly atmosphere and lots of good laughs.

Certainly there were moments of drama, but as with other situation comedies, they were quickly resolved in 30 minutes. It was easy to like the cast of the show, and the audience could almost feel as though they had a seat at the bar during each episode.

"Cheers" bowed out after 270 episodes and 11 seasons on May 20, 1993, with more than 80 million viewers tuning in for the 93-minute "One for the Road."

The last hurrah for the "Cheers" gang was similar to a lot of finales, where the main characters must decide if life will change or if it will continue on as it has always been.

Fans enjoyed this episode because it included a time for sitting around, reminiscing, and philosophizing about what life is all about.

People can relate to this sort of scene, but can they imagine waking up from a dream and realizing that a show might never have happened?

Newhart finale episode

No. 3: "Newhart" - May 21, 1990

Bob Newhart is a comedy legend and he actually had two successful shows, one in the 1970s and one in the 1980s. The 1980s show was simply called "Newhart," where Bob plays Dick Loudon, a Vermont innkeeper.

The show allowed Newhart to play the straight man surrounded by a community of oddball characters, including Larry, Darryl, and Darryl, three backwoods brothers who lived in a shack and were always introduced by Larry with the unforgettable line "Hi, I'm Larry, this is my brother Darryl, and this is my other brother Darryl."

After eight seasons, "Newhart" came to a close on May 21, 1990, in a series finale known for its memorable final scene.