Which tense of the verb should be used after "rather than" if "rather than" follows a verb in past tense? I am using the following sentence as an example. Please make a correction to it and, if possible, add some detail as well.

"He confessed to the crime rather than lie (or lying) to the police."

Thanks and appreciated