What followed was a negative campaign that tried to capitalise on anti-Muslim sentiments by presenting Labour candidate Sadiq Khan - the eventual winner - as being linked to alleged "Islamic extremists".