Correct option is D
The error lies in part (D). ‘To’ is an infinitive and it always followed by the base form of a verb (except for gerund i.e.,it is the noun form of a verb that ends in -ing. For example, playing, dancing, eating.) Hence, the correct usage should be ‘attract’ instead of ‘attracted’.