Complex sentence: When the local magistrate refused to hear his case, Iwasaki accused him of corruption and was sent to prison for seven months.
Split into simpler sentences: When the local magistrate refused to hear his case, Iwasaki accused him of corruption. Iwasaki was sent to prison for seven months.