How does the sentence end?

Joseph purchased the house from Randy.
Randy had to give the keys away to the new owner.