"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 with chains and shackles and guarded him" (See: [[rc://en/ta/man/translate/figs-activepassive]])