Complex sentence: Rann formally resigned from the premiership on 21 October 2011, and Weatherill was elected unopposed as his successor.
Split into simpler sentences: Rann formally resigned from the premiership on 21 October 2011. Jay Weatherill was elected unopposed as his successor.