CI 5240 then UA 2761 at O'Hare
Anchorage → Chicago → Portland (Maine)
Timetable, Chicago time
19:25CI 5240 from Anchorage at the gate
18:15UA 2761 to Portland (Maine) leaves the gate
22 h 50 apart on the timetable, overnight
UA 2761 leaves 22 h 50 after CI 5240 arrives on the timetable: more than half a day, so not a connection we count.