JA 5159 then LA 4040 at Bogotá
Cartagena → Bogota → Medellín
Timetable, Bogota time
13:55JA 5159 from Cartagena at the gate
09:40LA 4040 to Medellín leaves the gate
19 h 45 apart on the timetable, overnight
LA 4040 leaves 19 h 45 after JA 5159 arrives on the timetable: more than half a day, so not a connection we count.