The board of supervisors of the county of Erie shall have power exclusively, and it shall be its duty to contract annually with one or more undertakers for the care, removal and burial of bodies of persons dying within said county, where there are no known relatives, friends or personal representatives of such deceased persons in the state liable or willing to become responsible for the expense thereof and for the conveyance and delivery of such bodies to and from the public morgue of such county and the performance of any other acts incidental thereto. Each undertaker, with whom such a contract shall be made, shall execute and deliver to the county a bond in such amount, with such sureties and upon such conditions as the board shall require.
N.Y. CountyLaw § 832