he was arrested three times and remained detained for several months