Richard Franco's sentence will be reduced by time already served, so he'll spend 193 days in jail.

He will also spend five years on probation upon his release and must complete a yearlong psychological counseling program.

He initially pleaded not guilty to felony charges of burglary and stalking, which carried a maximum total of 9 years behind bars, but he has since struck a deal with authorities and agreed to plead no contest to the stalking count, in exchange for the dismissal of the burglary charge.

Franco was arrested outside the actress's Hollywood Hills home in July after Berry spotted him trespassing on the property for the third time in as many days. He was carrying a key to the star's guest house, which he reportedly obtained by breaking into the house.

He initially pleaded not guilty to felony charges of burglary and stalking, which carried a maximum total of nine years behind bars, but he later struck a deal with authorities and agreed to plead no contest to the stalking count in exchange for the dismissal of the burglary charge.