The first sentence is the correct one. You begin in past tense and end in past tense.
Having said that, you might think that the second sentence would also be correct, but we don't really say it like that. The most common way to say that saying is like the first sentence.
Hope this helps!