Complex sentence: In Port Alfred engine no.9 was officially named "Frontier" but, since it was painted black at the time, it came to be affectionately known as "Blackie".
Split into simpler sentences: In Port Alfred, engine no.9 was officially named "Frontier". Since it was painted black at the time, it came to be affectionately known as "Blackie".