Just before the 8 year limitations took effect. Maybe his conscience did get to him in the end.

http://espn.go.com/olympics/cycling/story/_/id/8250466/report-ioc-strip-tyler-hamilton-2004-gold-medal