In court Wednesday, Gibson did not forget to let the judge know how grateful he was that his long-running custody dispute with Grigorieva was finally over.
"I'd like to say thanks your honor for bringing this matter to a reasonable conclusion, thank you," said Gibson.
The Russian singer seemed equally grateful. She also thanked the judge.
It has been an epic ordeal for the former couple. Last year, Gibson was charged with misdemeanor domestic battery after a series of recorded racist and sexist rants were leaked to the celebrity website RadarOnline.com. Gibson pleaded no contest to misdemeanor domestic battery charges after that fight but did not acknowledge any wrongdoing.
The couple will have joint legal custody of 22-month-old Lucia, and she will receive no less than what Gibson's other children are receiving.
The Sherman Oaks house that Lucia is living in will be placed in a trust for her, and when she turns 18, or when child support is no longer paid, the house will be sold, with the profit being placed in her trust.
Since the couple was not married, Grigorieva will only receive a settlement of $750,000 to be paid over five years. She will also receive an undisclosed amount every month for child support.
According to the settlement, neither Gibson nor Grigorieva can make a statement to the media, and if Grigorieva does, she will forfeit her $750,000.
The settlement also says a book or article cannot be authorized or written about the couple's relationship.
"Oksana and Mel Gibson were in love and they were in love for three years. Lucia was a child born out of love and she was a planned child. They wanted to have her," said Grigorieva's attorney Daniel Horowitz.
Horowitz said Grigorieva is happy with the $750,000. She is planning to support her child mostly on her own. The Russian singer said she has an album coming out later this year.