How does the sentence end?

Shannon failed her history exam and but passed her science exam.  She felt proud of her performance on the
science exam.