The Pennsylvania Attorney General's Office has come out on top in a power struggle with district attorneys of the state's two largest counties.