How does the sentence end?

After looking through the attic for a project, Mary threw away the chair but saved the desk to be painted, because the
desk was able to be repaired.