Chris Brown was awarded joint physical custody of his 1-year-old daughter Royalty, despite the toddler's mom Nia Guzman reportedly trying to block the singer from having any custodial rights.

The "Liquor" singer and Guzman were at a Houston court on Friday to hammer out the details of their custody arrangement. As previously reported, Brown has been asking for both parents to equally share custody of Royalty, but the model claimed she didn't feel safe leaving the little girl alone with the pop star.

However, TMZ reports the judge not only awarded Brown joint custody, but is letting Royalty go home with the singer once he leaves court. The pair's agreement also states Royalty will spend four days at a time with each parent. Both Brown and Guzman live in Los Angeles.

Besides hammering out custody details, the 26-year-old singer and Guzman finally reached an agreement on child support. Even though the model wanted to up the payments to $15,000 a month, the judge said Brown would continue paying her only $2,500.

As reported earlier Friday, Brown had filed documents seeking a gag order to keep Guzman from bashing him in the media and on her Instagram page. The two have often been seen exchanging heated words in public. Last month, Brown lashed out at his baby mama after a Houston news station reported that her now ex-boyfriend King Ba had a warrant out for his arrest because he was allegedly forging U.S. Treasury Checks. He also accused her of trying to use their daughter as "meal ticket."

In response, Guzman has often questioned Brown's parenting skills and accused him of having a substance abuse problem. It seems however, that the pair's heated back and forth exchange with one another will be a thing of the past. TMZ reports the Houston judge ordered Guzman to stop bad-mouthing Brown in public and forbid her from discussing their custody case on social media.