Ben Affleck, Lindsay Lohan

While completing her court-ordered stint in rehab, Lindsay Lohan got a very special visitor: Ben Affleck.

TMZ reports that Affleck, 40, visited Lohan, 27, somewhere away from Malibu's Cliffside rehab facility where she was receiving treatment. The Argo star and director dropped by to advise her on how to maintain her sobriety after rehab in Hollywood.

Lindsay Lohan tells Oprah Winfrey: "I'm my own worst enemy"

Affleck talked to Lohan about how talented she is and how she has the ability to turn her career around. He said that the entertainment community can be very supportive for people who make a real effort to get clean and stay clean.

Affleck is no stranger to struggling with personal demons in the limelight. He entered an alcohol rehab center in 2001. He also struggled professionally for several years after flops like Surviving Christmas and Paycheck before making a recent comeback as both an acclaimed actor and director.

Lohan was reportedly touched by the meeting.