Lindsay Lohan, Samantha Ronson Lindsay Lohan, Samantha Ronson

Lindsay Lohan and Samantha Ronson may have broken up last year, but that didn't stop the DJ from visiting her ex in jail during her time of need.

Lohan's attorney: "Lindsay's having a difficult time adjusting"

Ronson stopped by the Century Regional Detention Facility in Lynwood, Calif., on Thursday to visit Lohan, according to Us Weekly.

The troubled actress began her jail sentence on Tuesday as the result of a probation violation, and will likely serve two weeks of her 90-day sentence. Lohan's mother Dina and sister Ali also visited the prison on Wednesday.

Check out photos of Lohan through the years

While Ronson and Lohan never confirmed their relationship, they were suspected to be involved for more than a year before calling things off in April 2009.