Complex sentence: He was selected for the ICS but did not go for the interview in the UK and so was offered an administrative posting in the princely state of Baroda, but he opted for a legal practice in the Mysore High court so that he could stay in Bangalore.
Split into simpler sentences: He was selected for the ICS but did not go for the interview in the UK and so was offered a posting in the princely state of Baroda administration. But he opted for a legal practice in the Mysore High court and stay in Bangalore.