Singer, Chris Brown

Read: Singer's baby mama pissed at head tattoos

His baby mama not only wanted to deny Chris any custodial rights, she also only wanted to give him supervised visitation.

The judge disagreed and Chris and Nia will share 50/50 physical custody, with Royalty going back and fourth every 4 days.

Both Chris and Nia are to now live in L.A.

The judge ordered him to pay Nia $2,500 a month in child support, which is exactly what he's been paying her, after she had requested $15k.

The judge also ordered Nia not to talk crap on Chris and not reveal anything about the case on social media.

Read: Singer demands second paternity test

Breezy shared a selfie with Royalty in front of the court after the hearing.

Congrats to Chris since he has really been working hard for this.