AA 9866 then UA 2145 at O'Hare
Marquette → Chicago → Sacramento
Timetable, Chicago time
10:30AA 9866 from Marquette at the gate
09:11UA 2145 to Sacramento leaves the gate
22 h 41 apart on the timetable, overnight
UA 2145 leaves 22 h 41 after AA 9866 arrives on the timetable: more than half a day, so not a connection we count.