Benzimidazoles of formula (I): wherein: A is 5- to 12-membered aryl or 5- to 12-membered heteroaryl, each of which is unsubstituted or substituted; Y is a single bond, —(CH2)p—, —X—, —CH2—X—, or —X—CH2—; X is —O—, —S—, —N(R2)—, >;C═O, >;S(═O), >;S(═O)2, —O—C(═O)—, —C(═O)—O—, N(R2)—C(═O)—, or —C(═O)—N(R2)—; each L is independently a single bond, C1-3alkylene, C2-3alkenylene or C2-3alkynylene; R1 is C1-6alkyl, C2-6alkenyl or C2-6alkynyl, each of which is unsubstituted or substituted; each Z is independently —N(R2)2, —OR2, —SR2, —S(═O)R2, —S(═O)2R2; each R2 is independently hydrogen, C1-6alkyl, C2-6alkenyl or C2-6 alkynyl, wherein said alkyl, alkenyl and alkynyl groups are unsubstituted or substituted; m is 0, 1, 2, or 3; n is 1, 2, or 3; and p is 1, 2, or 3; and the pharmaceutically acceptable salt thereof are inhibitors of RSV and can therefore be used to treat or prevent an RSV infection.