The man who killed a Muslim worshiper and injured several others last year in a terror attack near a London mosque was sentenced to life imprisonment.