A Chatham man spent the night behind bars after repeatedly harassing his ex online.

The 41-year-old was arrested Monday and charged criminal harassment for sending messages to his ex-girlfriend over Facebook. He was released with conditions not to communicate with the woman.

However, last night the man was allegedly back online, sending more messages to the victim. The accused was taken back into custody and charged with failing to comply with his release conditions and held for a bail hearing.