How does the sentence end?

We put the plant into a pot instead of in the ground outside, and this was because the
ground was unfit.