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
chair was damaged beyond repair.