After the heavy Liberal Democrat party losses in the 2015 election, Nick Clegg resigned as party leader. This caused a leadership election to be held. Farron beat his rival Norman Lamb and was elected leader.