Mel Gibson vs. Oksana Grigorieva


8/27/2011 7:15 AM PDT BY TMZ STAFF

Mel Gibson and Oksana Grigorieva have finally settled their custody war.

After days of negotiations at the downtown L.A. courthouse, the court announced that the former lovebirds turned mortal enemies struck a deal. 

Sources say the agreement covers custody of Lucia, as well as support.  As we first reported, Oksana was asking for enormous sums of money, but we're told her demands just didn't fly.