JA 5161 then AV 9318 at Bogotá
Cartagena → Bogota → Medellín
Timetable, Bogota time
23:15JA 5161 from Cartagena at the gate
21:50AV 9318 to Medellín leaves the gate
22 h 35 apart on the timetable, overnight
AV 9318 leaves 22 h 35 after JA 5161 arrives on the timetable: more than half a day, so not a connection we count.