How does the sentence end?

In the morning, Betty had more pain in their back than Mary because
Betty had slept on the floor.