Complex sentence: It was also a major place of trade and commerce in ancient Kerala and the erstwhile capital of the rulers of Onattukara.
Split into simpler sentences: It was also a major place of trade and commerce in ancient Kerala. Also, the erstwhile capital of the rulers of Onattukara.