At what age?

At what age did you allow your child to have a TV in their room? And did it affect their sleeping or cause any behaviors if so?