They will share custody of the two minor children.