Then is a past reference. Than is a comparable
Back then I used to be terrible at spelling.
My spelling is better than most idiots on the Internet.
Also don't forget the failures of their there and they're.
Their has i in and is often followed with an s, theirs making it a "mix" of his...