Affiliated is the main verb. The subject is majority . The majority of people [who were] questioned affiliated themselves with a religious group (= said that they were affiliated with a religious group).
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.