Complex sentence: While imprisoned, he studied medicine and after his release he practiced medicine for two years before entering politics.
Split into simpler sentences: While imprisoned, he studied medicine. After his release he practiced medicine for two years before entering politics.