¶1When this action was commenced and disposed of in the trial court, appellant Newlin was auditor of Fountain county, appellant Dicken was trustee of Troy township, said county, and appellant Weaver was road supervisor of district No. 1, said township. Appellees Sarah E. and David S. Ferguson brought this action to enjoin appellants as officials from opening an alleged public highway in said district, respecting the legality of the establishing of which there is controversy. A trial resulted in a special finding and conclusions of law. *172Judgment was rendered on the conclusions in favor of appellees, enjoining appellants as prayed.
¶2The questions presented on this appeal arise from appellants’ exceptions reserved separately and severally to the conclusions of - law. The following includes the substance of the finding necessary to determine the questions involved: On February 12, 1913, and thereafter, appellee Sarah E. Ferguson was the owner of the northeast quarter, and appellee David S. Ferguson was the owner of the east half of the southwest quarter and the west half of the southeast quarter, of section 23, township 20 north, range 9 west, Fountain county. On that day the requisite number of qualified freeholders, not including appellees, proceeding under §7649 Burns 1914 (Acts 1905 p. 521, as amended, Acts 1907 P- 443), filed their petition praying that a public highway thirty feet wide be located and opened up, its north line commencing at a designated point on the east and west half section line near the center of section 22, and extending east along said line to a designated point about eighty rods east of the center of section 23, said township and range. Subsequent proceedings were thereafter regularly had, under §7649 et seep, supra, resulting in the filing of a reviewer’s report on April 18, 1913, finding against David S. Ferguson on his remonstrance challenging the utility of the road, and in his favor on his remonstrance asking damages, awarding him $300. Sarah E. Ferguson filed no remonstrance or other pleading before the board of commissioners. The contemplated road did not pass, through her lands, but the north line of the former coincided with the south line of the latter for a distance. At the May term, 1913,- the board of com*173missioners entered judgment and final .order in said proceeding, granting the petition and establishing the road as prayed, ordering that the road be recorded, and that the auditor notify the proper township trustee as required by law, and that “the remonstrator David S. Ferguson shall receive as damages assessed by the reviewers herein the sum of $300 which said sum shall be paid by the petitioners herein, and that the said road shall not be opened or improved until said amount is paid or tendered as provided by law, all other costs to be paid out of the county treasury as provided by law, all of which is finally adjudged and decreed.”
¶3At the time of the rendition of said judgment the $300 damages thereby confirmed to David S. Ferguson had not been paid or tendered to him, or deposited to his use in the county treasury, and he had not filed his consent in writing to the opening of the highway.
¶4David 8. Ferguson appealed from said judgment to the circuit court of Fountain county. Sarah E. Ferguson was a party to the proceeding in the commissioners’ court, but filed no pleading therein. She did not appeal to the circuit court. On her petition, however, she was ordered made a party in that court, and granted permission to file a remonstrance for damages, but she filed no remonstrance. Neither the board of commissioners nor the county was a party to the proceeding in the circuit court.
¶5November 4, 1913, the court entered a final order in said proceeding. The order purports to change the line of all that part of the road east of a point eighty rods west of the northwest corner of David S. Ferguson’s land as follows: The south line of the road *174as changed angles northeast from said point to a point thirty feet north of said northwest corner; thence east to the terminus.. Under the judgment David 8. Ferguson’s north line throughout becomes a part of the south line of the road, and Sarah E. Ferguson’s south line from her west line east to the terminus of the road coincides with the south line of the latter. The more formal part of the order is as follows: “It is therefore ordered, adjudged and decreed by the court that the proposed highway along the route changed as shown and described above, will be of public utility, and that the remonstrator Sarah E. Ferguson will be and is damaged thereby in the sum of two hundred and eighty-eight ($288.00) dollars, and that she have judgment therefor, and that upon the payment of said damages by the county treasurer of'Fountain county, Indiana, and the said county treasurer is hereby ordered to make such payment within twelve months from this date upon the proper order, and said money shall be paid from the first moneys which can be had for such purpose. Said proposed highway should then be opened to the width of thirty feet, as above found, and kept in repair all as provided by law, but no opening shall be made until said damages áre paid and in no event before June 1, 1914, shall said proposed road be opened. It is further ordered, adjudged and decreed by the court, that the clerk of this court shall issue a certified copy of this order and judgment to the county auditor of said county who shall record the same and shall certify this order to the township trustee, who shall then proceed to open all of said proposed highway according to law, when said judgment shall be paid as aforesaid and not until then. *175It is further ordered, adjudged and decreed, that the parties hereto, pay of the costs of this proceeding-, each has made herein. ’ ’ Said judgment was entered by agreement of all the parties to said highway proceeding pending in the circuit court, including Sarah E. Ferguson.
¶6At the time of the rendition of said judgment or order, there were no funds in the county treasury with which to pay the damages awarded Sarah E. Ferguson, and no funds were available from any other source, and no appropriation had been made by the county council to that end, and said damages had not been paid or tendered. Sarah E. Ferguson had not filed with the county auditor her consent in writing that the highway might be opened.
¶7April 6, 1914, the clerk of the circuit court certified the order to the county auditor. In April, 1914, the county auditor in vacation entered the judgment upon the records of the board of commissioners. June 1, 1914, the county council made an appropriation in the sum of $288, for the purpose of paying the damages awarded to Sarah E. Ferguson. She, however, refused to file a claim before the board of commissioners based on the damages awarded, but on July 6, 1914, no claim having been filed, the board of commissioners allowed to Sarah E. Ferguson the amount of damages so awarded. July 7,1914, a warrant was issued, based on such allowance, and delivered to her by registered mail December 5, 1914. She refused to accept it, and returned it December 30,1914. Said damages have not been paid to or received by Sarah E. Ferguson or tendered to her except as above set out. The board of commissioners since the rendering of said judgment or order by the circuit court has *176taken no steps relating to -the highway proceeding except to make said allowance.
¶8September 5, 1914, appellant Weaver, as road supervisor, notified petitioners and the Fergusons and other parties to said order (under the provisions of §7662 Burns 1914, supra) to remove their fences along the line of the proposed highway that it might the opened up, which notice was repeated January-23, 1915. Petitioners and parties to said judgment, other than the Fergusons, thereupon in obedience to such notices did remove their fences, and built permanent and valuable fences along the boundary of such prospective highway where it crosses their respective lands. The road intersects the right of way of the Wabash Railroad Company. This company at the intersection opened its fences and built a crossing consisting of cattle guards and wing fences of a substantial nature, and at great expense and inconvenience, all of which was done with the knowledge of the Fergusons without objection from them, and in reliance that the Fergusons would abide by said judgment and without any notice from either of them that they would not do so.
¶9Petitioners for said highway have been at all times and now are willing to perform said order and have done so except as prevented by appellees. Appellants are claiming the right to open the highway, and are doing so, and will continue unless restrained by the court, and in so doing they are acting solely under authority of said order rendered by the circuit court.
¶10The court stated conclusions of law to the following effect: First, that the judgment of the board- of commissioners was without' authority of law, and therefore void. Second, that the circuit court was without *177authority of law over the subject-matter iu rendering the judgment of November 4, 1913. Third, that the circuit court did not have jurisdiction of the person in case of the county, and therefore was not authorized to render a judgment and order requiring it to pay damages. Four, that the judgment of the circuit court is void. Fifth, that appellants should be permanently enjoined as prayed.
¶11Sections 7655 and 7659 Burns 1914, supra, have a bearing on such a highway proceeding as is involved here. The former is to the effect that where damages are assessed, the board, if it shall consider the proposed highway enterprise of sufficient importance to the public, shall order such damages and the costs to be paid out of the county treasury, otherwise such damages and costs shall be paid by the petitioners or other persons interested, and that “where payment of damages is made as herein provided, such highway shall be recorded and ordered to be opened, and kept in repair,” etc. The latter section, in substance, provides in part that the highway shall not be opened, worked, or used, until the assessed damages shall have been paid to the persons entitled thereto or deposited in the county treasury to their use, or until such persons shall consent thereto in a writing filed with the auditor, and that if the damages are not so paid or deposited, such consent not having been filed, within ninety days from the filing of the report assessing such damages, the proceeding shall be deemed to be vacated.
¶12*178
¶13
¶14
¶15The following are some of the characteristics of the judgment rendered by the circuit court in the road proceeding: Thus, the court awarded damages to Sarah E. Ferguson in the sum of $288, and decreed that she have judgment therefor. The court did not indicate the judgment debtor. The court,, however, without assuming expressly to find that the road enterprise was of sufficient importance to the public to that end, as must be first done either expressly or impliedly by some authorized tribunal under the provisions of §7655, supra, did find and adjudge that such damages should be paid out of the county treasury, the first available funds to be drawn upon, and the county treasurer was ordered to make such payment within twelve months. The county was thus in form required to shoulder the burden of such damages, although neither through the board of commissioners nor otherwise was it a party. The court also leaving nothing for the determination of the board ordered the clerk to certify a copy of the judgment to the county auditor, the latter to record it and certify a copy to the township trustee, and the last named to open up the road, but not until the • damages had been paid.
¶16In determining the validity of the judgment en*180tered in the highway proceeding, we shall for the present eliminate the fact that it was entered by agreement. It will be observed that the county neither by its board of commissioners nor otherwise was before the court. It was not a party to the proceeding. That fact appeared affirmatively on the face of the record in the highway proceeding in the circuit court, and is expressly set out in the finding here. Moreover, it is held that a county by its board of commissioners is neither a necessary nor a proper party to such an appeal. Jamieson v. Board, etc. (1877), 56 Ind. 466; Board, etc. v. Small (1878), 61 Ind. 318; Schmied v. Keeney (1880), 72 Ind. 309.
¶17
¶18For like reasons the order that the county treasurer pay the damages was a nullity. McKinney v. Frankfort, etc., R. Co., supra.
¶19
¶20The judgment rendered by the circuit court November 4, 1913, provided that the damages awarded should be paid out of the county treasury within twelve months. There was no available money in the treasury, and an appropriation purporting to render it available was not made until June 1, 1916. *182Without any affirmative action on the part of Sarah E. Ferguson, the board, July 6, 1914, made an allowance in her favor of the amount of damages as assessed by the court. The next day a warrant was issued in her favor on the allowance. The warrant was sent to her December 4, and returned by her unaccepted December 30,1914. Meanwhile, in April, 1914, the clerk certified the judgment to the auditor, who in vacation recorded it on the commissioner’s record and certified a copy to the township trustee. In September the road supervisor notified the parties to remove their fences.
¶21
¶22It is held also in the Helms case that the payment of the damages into the county treasury at a time subsequent to the entering of the final order does not revive or validate the order. A final order entered by a board of commissioners under the circumstances indicated being thus held void, we are unable to discover any reason why a like conclusion does not follow respecting a final order entered by a circuit court under like circumstances.
¶23However, in Rudisill v. State, ex. rel. (1872), 40 Ind. 485, the holding is to the effect that where a board of commissioners orders damages assessed in a highway proceeding, to be paid out of the county treasury, the presumption wall be indulged that the money to satisfy the order is in the treasury, and that such order is therefore equivalent to a payment to the use of the person entitled to the same, and hence that such order alone without actual payment satisfies the statute.
¶24But in Lortz v. Davis, supra, decided after the enactment of the county reform act, Acts 1899 p. 343 (§5918 et seq. Burns 1914), the holding is otherwise. There the board in a final order establishing a highway in effect directed that the damages assessed by the reviewers be paid out of the county treasury. There were no available funds in the treasury and an appropriation was not made by the county council until a subsequent date. Giving effect to the county reform act, the court ruled that Helms v. Bell, supra,*184controlled, and that the final order establishing the highway was void and subject to. collateral attack. The court said: “Such order did not authorize the * auditor to issue his warrant or the treasurer of the county to pay such warrant in the absence of an appropriation for that purpose, and in case money .had been paid out of the county treasury on any such warrant it could have been recovered from the person to whom it was paid.”
¶25
¶26The Lortz case is authority that the allowance made to Sarah E. Eerguson here was not a judgment against the county, as that term is used in §5944, supra.
¶27It is apparent that the prohibition declared by §5944, supra, circumscribes the power of circuit *185courts as well as boards of commissioners, and that as a consequence, for reasons last indicated, tbe order of tbe court here that the damages be paid out of the county treasury, there being no appropriation, was absolutely void.
¶28We are confronted then with this situation:- The court’s order that the damages be paid out of the county treasury was void for two reasons: First, the county was not a party to the proceeding; second, there was no appropriation. Under such circumstances, had the amount of damages been paid to Sarah E. Ferguson, as ordered, she in an appropriate action could have been compelled to return it. Lortz v. Davis, supra; §5962 Burns 1914, supra.
¶29
¶30The damages allowed, then, were neither paid to Sarah E. Ferguson nor deposited to her use. Even though it should be conceded that as a mere theoretical proposition the order respecting the payment of the damages was binding on her, since she was a party to the agreement at its foundation, the consequent validity is barren of results, since, for reasons already stated, the damages could not legally be paid to her as ordered.
¶31
¶32
¶33Back of the final order here, there was an agreement ; a contract between the parties. In determining the question whether the fact of such agreement validated any part of such final order, the law that governs in determining the validity of contracts void in part is therefore, by analogy, closely applicable. “If a promise to do special acts is indivisible and is in part illegal, it cannot be enforced as to that part which is legal, but the whole agreement is void. … Where the agreement consists- of one promise made upon several considerations, some of which are bad and some good, here, also the promise is wholly void, for it is impossible to say whether the legal or the illegal portion' of the consideration most affected the mind of the promisor, and induced the promise.” Clark, Contracts 472. “A contract illegal in part and legal as to the residue, is void as to all, when the two parts cannot be separated; when they can be, the good will stand and the rest fall. One entire consideration cannot, within this rule, be separated, though composed of distinct items, some of which are legal and others illegal.” Bishop, Contracts §471.
¶34*188“The general rule is, that if any part of an entire consideration for a promise, or any part of an entire promise, is illegal, whether at common law or by statute, the whole contract is void. ’ ’ 1 Wait, Actions and Defenses 106; James v. Jellison (1884), 94 Ind. 292, 48 Am. Rep. 151.
¶35The object of the agreement here, and which agreement by the court’s action became a final order or judgment, was, from the standpoint of one party, the establishing of a public highway; from the standpoint of the other party, the allowance and payment of damages. The provision for the payment of the latter was the consideration to be received or the compensation to be paid in order that the former might be accomplished without objection. We have held that the order respecting the payment of the latter was invalid. It seems to us apparent that the former and the latter as elements of the agreement are so mutually related that the agreement was an entirety, and that the one element failing, the other cannot stand. See, also, Consumers’ Oil Co. v. Nunnemaker (1895), 142 Ind. 560, 41 N. E. 1048, 51 Am. St. 193; Chicago, etc., R. Co. v. Southern Ind. R. Co. (1906), 38 Ind. App. 234, 70 N. E. 843; Richetts v. Harvey (1886), 106 Ind. 564, 6 N. E. 325; 6 R. C. L. 816; 9 Cyc 566.
¶36
¶37The finding supports at least the first, second, fourth and fifth conclusions of law, and these are sufficient to sustain the judgment. Judgment affirmed.
¶38Note. — Reported in 117 N. E. 659. See under (2) 37 Cyc 131; (4) 37 Cyc 128; (9) 37 Cyc 125.