Complex sentence: It wasn't until he pursued his MBBS in Lahore then his focus shifted towards Islam.
Split into simpler sentences: It wasn't until he pursued his MBBS. In Lahore then his focus shifted towards Islam.