Santa Clara, CA (SportsNetwork.com) - Former 49ers and Bears defensive lineman Ray McDonald was arrested Wednesday for violating a restraining order that was issued as a result of his domestic violence and child endangerment arrest that occurred Monday.

According to a report from the Santa Clara Police Department, detectives "learned Ray McDonald violated a restraining order for being at a residence in Santa Clara." Detectives later found McDonald at a nearby Togo's Sandwiches and arrested the 30-year-old "without incident" and transported him to Santa Clara PD for processing.

On Memorial Day, Santa Clara police had arrested McDonald on suspicion of domestic violence and child endangerment in the attack of a woman holding a baby.

McDonald, who was signed by the Bears in late March, was subsequently released following his arrest on Monday.

McDonald has had several run-ins with the law. He was arrested in August of last year on domestic violence charges. The 49ers publicly stood by McDonald, allowing him to continue to play while the investigation was ongoing, and the case was later dropped in November due to a lack of evidence.

McDonald was released by the 49ers in December after being named as a suspect in a prior investigation for sexual assault.

Over the past four seasons, McDonald started 59 regular-season games and eight postseason contests for the 49ers, compiling 14 1/2 sacks over that span.