A man has been charged with violating a protective order after police said he texted a Westport woman who had been his girlfriend.

Greg Peck, 42, of Gregory Boulevard in Norwalk, was arrested on the charge Wednesday in Norwalk Superior Court.

Police said the incident took place last month when Peck texted the ex-girlfriend who had a court order against Peck to prevent him from initiating contact.

Bond was set at $5,000 and Peck was scheduled to return to court the next day.