How many seasons did the original TV series Beverly Hills 90210 run for?

History Trivia Question: How many seasons did the original TV series Beverly Hills 90210 run for?