STAMFORD — A Stamford man accused of sending his ex-wife a video that shows her cat being thrown against a wall was arrested for violating a judge’s order prohibiting him from contacting and harassing the woman, police said.

Rawane Badara Sy, 24, of Third Street, was charged with 20 counts each of criminal violation of a restraining order and harassment. He was freed after posting a $50,000 court-appearance bond and will be arraigned on the charges at the Stamford courthouse Thursday.

Sgt. Joseph Kennedy said Sy’s ex-wife reported to police that he was contacting her in early September after she obtained a restraining order against him in late August. Kennedy said in the messages, 20 in all, Sy said he still loved the woman, begged her for forgiveness, and said he could not believe she was doing this to him. They also included more banal topics, such as about car insurance.

One warrant documents 12 counts of harassment and violating a protective order and the second warrant covers eight more counts of each, Kennedy said.

Kennedy said that he expected another arrest in the case.

Sy was arrested in March after police officers where shown a video of him grabbing his ex-wife’s cat and throwing it against the wall.

Officers were alerted to the incident by the ex-wife. She told police she believes the man filmed the incident and sent it to her as retaliation for the argument they were having. The case is still pending.