By nightfall, when she came back from the city, he was groaning in pain.
He was in pain when she came back. 
mnli hypothesis: He was in pain when she came back.  premise: By nightfall, when she came back from the city, he was groaning in pain.