"many times it had taken control of the man" or "many times it had gone into him." This tells about what the demon had done many times before Jesus met the man.
This can be stated in active form. Alternate translation: "though the people had bound him ... and guarded him" (See: [[rc://en/ta/man/jit/figs-activepassive]])