AA 9791 then WN 1556 at LAX
Santa Ana → Los Angeles → Sacramento
Timetable, Los Angeles time
08:14AA 9791 from Santa Ana at the gate
07:10WN 1556 to Sacramento leaves the gate
22 h 56 apart on the timetable, overnight
WN 1556 leaves 22 h 56 after AA 9791 arrives on the timetable: more than half a day, so not a connection we count.