Well, your example is bad English in any case, but if you are asking whether it is possible to put both verb forms in the same sentence, the answer is yes—if they have different subjects: We were still exploring Africa when the first colony was established.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.