RICHARD DREW / Invision/AP 1 / 12
RICHARD DREW / Invision/AP 1 / 12

TAMPA, Fla. (AP) -- Actress Lindsay Lohan's estranged father has pleaded no contest in Florida to charges stemming from domestic violence charges.

RELATED: Learn about Michael's most recent arrest

The agreement reached Wednesday between Michael Lohan and Hillsborough County prosecutors says the 51-year-old will spend four months of his one-year probation at a residential program in Fort Myers. After that, he must complete a domestic violence batterer's intervention program.

The agreement bans him from having any contact with Kate Major, his sometime-girlfriend.

RELATED: Check out Wonderwall's advice for Hollywood's most iconic families

The elder Lohan was first arrested in Tampa on Oct. 25. A judge warned him not to make any contact with Major. But two days later, he was accused of violating the terms of his release by making a harassing phone call to her just hours after being released from jail.

RELATED: See Lindsay's many courtroom outfits