The two became friends earlier this year

Sheen, who has had his own troubles with the law, loaned Lohan the money after working with her on the set of the upcoming Scary Movie 5. The two became friends during the filming, and Sheen decided to help her when he learned of her tax issues.

Lohan — most famous these days for her other troubles with the law — got into trouble after she failed to pay $100,000 in 2009 and didn’t file in 2010. Between the tax liabilities and fines assessed by the IRS, the actress owes more than $230,000.

Of course, depending on how it is reported, Lohan could face as much as $35,000 in taxes on the loan itself, reports Forbes. Sheen could report it as a gift, saving Lohan the extra liability, but then Sheen would be on the hook for a gift tax.

Lohan, who is hoping to restart an acting career that has flagged, recently starred in the Lifetime bio-pic about Elizabeth Taylor and Richard Burton, Liz & Dick.