the town, for the location of the road, and which might be necessary for sidings or spare tracks; and would also donate- and pay to the Extension Company $30,000, one half when the road made a connection with the line of the Alabama Great Southern Railroad Company at Birmingham, Alabama, and the other half when the road made a connection .with the line of the Louisville and Nashville Railroad Company at that place; the payments to be made provided the road should be. so far completed as to make the connections designated within three years. The proposition was formally accepted in writing by the Extension Company, through its vice-president, John W. Johnston.
Pursuant to this contract the Extension Company located and constructed the railroad by way of the town of Anniston' by the first of January, 1883, and made the connections specified, within the period designated, and complied in every respect with its terms.
" The Woodstock Iron Company complied with the contract' only in part. At the request of the Extension Company it conveyed to the railroad company the several parcels of land mentioned, and also upon like request furnished it with cars to the value of $6325. For the balance, amounting to $23,675, the present suit was brought, and the principal question presented to the court' below, and to this court, is whether the contract is obligatory upon the defendant,'or whether .it is void as being against public policy.
In determining this question, it must be borne in mind that the contract of the .Extension Company with the Georgia Pacific Railway Company was to locate and construct the' road “by the nearest,.cheapest and most suitable route from Atlanta, Georgia, through Alabama to Columbus in Mississippi,” for the consideration of $20,000 a mile, and that ’ it is averred in the pleadings and admitted by the demurrer, that in causing the road to be located by way of Anniston, it ,was necessary to deflect the same from the nearest and cheapest and most natural route .between the designated termini, a distance of five miles, at an additional cost of $100,000. In the light of these facts there can be but one answer given to the