When both parents have
a similarly violent history, the court may award custody to whichever parent completes a rehabilitative program and is least likely to continue committing domestic violence, or in some cases, to a third party who may be more suitable to take care of the children.