Disclosed are compounds of formula I where the substituents are as defined herein, for example (E)-3-methyl-N-[2-[(2-methyl-4-quinolyl)amino]ethyl]but-1-ene-1-sulfonamide, which are intended for use as medicaments, more specifically as medicaments for animals. The medicament can preferably be used for the treatment of helminth infections and the treatment of parasitosis, such as caused by helminth infections. Also disclosed is the use of the compounds to make medicaments and treatments for helminth infection, methods for the preparation of the compounds and pharmaceutical compositions and kits comprising the compounds.