'Then' refers to time. 'Than' is a comparison.
I always thought Han Solo was cooler than Luke Skywalker. Then George Lucas introduced Boba Fett, and I had to change my opinion completely.