A judge has denied Rob Kardashian's motion for primary custody of his daughter Dream amid his ongoing legal battles with baby mama Blac Chyna.

Rob filed an emergency motion in his custody battle with Chyna in January, alleging that she is an unfit mother who gets drunk around Dream and gets into fights around the child.

He asked the court to grant him primary custody of the child and for Chyna to have visitation on weekends only with a nanny present. But the judge disagreed with Rob on the basis that was an emergency and will allow him to continue to argue for custody without an immediate decision from the court.

In a statement to E! News, Chyna's lawyer said, "Chyna will not back down from Rob and his family's attempt to take away her agreed-upon custody of Dream. She will continue to take all necessary steps to protect her children, including defeating Rob's and his family's latest attempt to undermine Chyna's joy as a mother to Dream and her ability to make a living as a single mother - without any child support from Rob."