It looks like Deion Sanders is finally winning.

During a court hearing on Monday, the NFL star was given temporary custody of his kids and a restraining order that keeps his estranged wife Pilar at least 500 yards from his Dallas mansion.

TMZ reported:

During Monday’s hearing, the judge also ruled Deion was only acting in self-defense when he injured Pilar during an altercation at the mansion on April 23. The judge said Pilar could face a fine for her role in the alleged attack.

The judge also ruled that Pilar and Deion’s 3 minor children must undergo psychological counseling.

Deion and Pilar have been going at it ever since last December when Deion filed for divorce — after 12 years of marriage — just four days before Christmas.

It’s sad it had to come down to this … Pray for the kids y’all!