The sentence below contains two errors in grammar usage. Read the sentence and the question that follows.

Kelsey knew that, after working for days in the hot sun, her garden looked better then it had last year.

Which version of the sentence has been correctly edited for grammar usage?

Kelsey knew that, after working for days in the hot sun, her garden looked better than it had last year.