20130810-082747.jpg

Usher and his ex Tameka Foster faced off in an Atlanta courtroom Friday over the custody of their two sons, Usher V, 5, and Navivyd Ely, 4.

After an afternoon of emotional testimony, a judge dismissed the case, leaving the singer with primary custody of the children.

During the hours-long hearing, both Foster and Usher – along with his aunt, Rena Oden – took the stand to discuss the children and each Foster and Usher’s parenting.

As expected, their versions of the saga differed: Foster claimed Usher is unresponsive to her, leaves their sons in the care of unfit supervision and is an absentee father. The singer said her claims are false, that the children are well taken care of and that he has not barred her from their lives.

After the case was dismissed, the singer hugged Foster and whispered “I’m sorry” several times in her ear before turning his attention to his aunt, who he kissed and hugged in celebration of the verdict.

20130810-082913.jpg

Foster requested the emergency hearing on Tuesday following the near-drowning of their eldest son at the singer’s home. Cinco, as the child is known, remains in recovery at a local hospital and is expected to be released on Sunday, according to the singer’s lawyer.

“My favorite 5-year-old. What a blessing!” Foster tweeted on Thursday, along with a photo of herself cradling the little boy. “I have always loved and appreciated my sons but tragedies and close calls make this even more evident.”

20130810-082957.jpg