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