Question: when did miami vice go off the air
Answer: The series ran for five seasons on NBC from 1984 to 1989 .