How does the sentence end?

When deciding between the computer or the tablet, and considering his limited budget, Andrew bought the tablet, because he thought the
computer would be expensive.