A deeply divided appeals panel has upheld the right of the Erie County executive to file a $4 million fraud action against a former top law enforcement official without legislative approval.

The case from Buffalo turned largely on whether a provision in the Erie County Charter superseded state law and permitted the county attorney to begin a lawsuit on orders of the county executive.