How does the sentence end?

Logan demanded that Robert clean the upholstery in the family car, but in fact
Logan was the one who made the stain.