Complex sentence: These were typically British locomotives, and lasted until the end of steam era in India.
Split into simpler sentences: These were typically British locomotives. These locomotives lasted till the end of steam era in India.