Mr. Chief Justice Fuller,
after stating the case, delivered the opinion of the court.
1.. The State of Texas, as owner of the lands in question, sought by its petition the removal of the cloud cast upon its-title by reason of certain certificates arid patents. The petition averred that those certificates were issued to the railway company for the construction of its road from the town of Columbus to the Guadalupe bridge during a period of time when there was no law in existence authorizing the issue of land, certificates and patents, and charged that the action "of the Commissioner of the General Land Office of the State in issuing and delivering the certificates, and permitting them to be located and surveyed upon the lands and returned to and filed ,in the General Land Office, and in'the issue of the patents, was had and done wholly without authority of law and in violation of the constitution and laws of the State. It did not appear from the State's statement of its case that the suit .was' one arising under the Constitution or laws of the United States, and the Court of Civil Appeals properly held that the petition to remove the cause into the Circuit Court of the United States came within the rule laid down in Tennessee v. Union and Planters' Bank, 152 U. S. 454, and subsequent cases, and that there was no error in overruling the application.
2. ' The railroad, franchises; rights and property of the Buffalo Bayou, Brazos and Colorado Railroad Company had been sold on execution and under foreclosure, and the purchasers at the sales and their associates had formed a new company under the old name. By the act of July 27, 1870, this new company was given the name of " The Galveston, Harrisburg and San Antonio Railway Company," to distinguish it from the " £sold-out' company; " was endowed with various franchises; and, among other things, was authorized to extend the existing line of railroad owned and operated by the company, from Columbus, in Colorado County, to San Antonio, in the county of Bexar, and thencé to a terminus on the Rio Grande. '
At this time the constitution of Texas provided: " The legislature shall not hereafter.' grant lands to any person- or ' persons, nor shall any certificates for land be sold-at the land office, except to actual settlers upon, the - sanae,- arid in lots not. 'exceeding one hundred and sixty acres." ' ;
" The certificates and patents in question in 'this suit .were issued/to the company for a portion of-its railroad constructed between the- Colorado and -the Guadalupe Rivers, under' the act of July 27, 1870, and .before the act of August 16, 1-876, took effect. . - - - . .
.Plaintiff- -in error .contends that by'virtue of .the charter of the old company and the amendments.thereto, and'-the general laws,- prior to. 1869; it had a yested and contract right- to receive and hold these lands, which was impaired or of' which it. .was deprived, in' violation- of section ten of -Article I of the Constitution of the United States, and section -one of the Podr: teenth Amendment thereof, by section six of Article X of the state constitution of 1869, as given effect-by the state courts.
The,Supreme Court of Texas considered the legislation at length in replying to the questions propounded by the Court of Civil Appeals.
Conceding; for the purposes of argument, that the original company acquired a right to sixteen sections of land per mile of constructed railroad under the genera! law of January 30, 1854, and the special acts amendatory of its charter; that this right was-preserved by the general law of November 13,1866'; and that section six of Article X of the constitution of 1869 did not operate to repeal either of those acts in respect of the right of existing companies to lands in aid of the construction of the lines of road specifically defined in their charters, the court was nevertheless unable to conclude that after the constitutional provision took effect an act of the legislature which authorized the company to change its former route and to construct a different line of road would carry with it'the right to acquire land by the construction of the new line.
In its view the law of January 30, 1854, applied only to companies then chartered, and was intended to grant lands for the construction of those roads only which the companies . were authorized by their charters to build. And while in'the absence of any constitutional inhibition on granting lands in aid of railroads, it might be that legislative authority to a company to change its line could properly be treated as carrying with it the privilege of earning lands for the construction of the new line, this did not follow as to new routes authorized after such land grants had been forbidden by the fundamental law.-. And here the act of February 4, 1854, supplementary, to the act of the same daté which extended the privileges of the law of January 30, 1854, to the company, restricted those privileges to .the line to Austin and to the extension of that line. If then the new company had succeeded to the right to acquire lands by the construction of the line fixed by the supplementary act, the construction of a different road in- the exercise of the power given by the act Of 1870 could not involve an obligation to furnish lands in' aid, pf such constaiction.
And the court said: "The company, before the passage of the act of 1870, had no right to acquire lands "by the building of a railroad to San'Antonio; to complete that' right, a new grant was requisite; but at that time the legislature was prohibited in the broadest terms from making any grant whatever. It matters not that the transaction may be looked upon as being somewhat in the nature of an exchange, and that the building of the new line may have involved a- grant of no more, or even of less land, than may have been 'acquired by the construction.of - the old line. It involved a grant of land as to the néw line and that the legislature had no right to make. Let us state the proposition in another form.' If it were'the right of- the company,'under the existing laws, to acquire .lands by doing a specific thing, the legislature having no power under the constitution to make any grant of lands, could not confer upon it- the right to earn lands by doing' another — :a different .thing.
" So far we have discussed the question as if in passing the act of 1870 the legislature had intended to transfer the right of the company as to the lands to be acquired,'from the' old to the new line. .But we find nothing in the' act which manifests such ' an intention.' On, the contrary, the 12th section of the act as above quoted indicates, that it was - not -the pur.pose in any. manner to extend the existing ' rights of the company with reference to the acquisition of lands from the 'State.
"It is to be'noted that the.3d section of the act of 1870 not only authorized the Cdmpany to change its route so as to fun to San Antonio, instead of Austin, -but in addition thereto reserved to it the right to build upon the route formerly designated by the sold-out company. . It is evident, therefore, that to concede-to the company the right to earn lands by the construction of the new line involves a new and -additional grant — a grant which the legislature, under the constitution of 1869, could have made neither expressly nor by implication." Railway Company v. State, 89 Texas, 340, 354; Quinlan v. Houston & Texas Central Railway, 89 Texas, 356; Galveston, Harrisburg & San Antonio Railway v. Texas, 81 Texas, 572.
In our judgment the constitutional provision as thus enforced involved no infraction of the Federal Constitution.
The Galveston Company was not identical with the .Buffalo Bayou Company, but a new company in succession to the old.
The Buffalo Bayou Company became entitled to the benefits of the general law of January 30, 1851, by the first of the special acts of February 4, 1854; but by the supplemental special act of that date was restricted to the route to Austin, " with the right of extending their road from Austin to con-i nect with any road running north of Austin towards the Pacific Ocean; provided, such connections be made between the ninety-sixth and ninety-eighth parallels of longitude; and providéd further, that said company shall have no right to build branches from their main road."
Construing these two acts together, as we must, the contract between the State and the Buffalo Bayou Company would appear to have been that the company .would build a line of road to Austin and northerly to some line of road going west to the Pacific Ocean, and the State would give the company sixteen sections of land per mile, but the company was restricted to the particular line and had no right to build branches from the main line. The State did not contract with the old corporation to build the road from Columbus to San Antonio, and the new company could not claim to earn lands by building this road, by virtue of what the old company nad been empowered to do. The old company did not possess., the right by existing law to build the road in question or branch lines, and the authority to construct it was not given until July 27, 1870, at which time the constitution of Texas forbade the granting of lands to railroad companies. And if there were no contract prior to July 27, 1870, to give land for the construction of a line of road from Columbus to San Antonio and thence west, the constitution of 1869 could not operate to impair any such.
But it is said that the right to a land grant of sixteen sections per mile under the act of 1851 had become a corporate franchise of the Buffalo Bayou Company, exercisable on every mile of road it'might constrhct under competent legislative authority ; that it was subject in the first instance to a restriction as to route, which the legislature could at any time remove,- and did remove by the act of July 27, 1870; and that, the privilege of earning lands for the construction of the new line was included in the grant of authority to construct it. This is to assert that the Buffalo Bayou Company acquired by. the legislation of 1854 á vested right to lands for the construction óf whatever line of road, other than that then authorized and defined, it' might in the future be empowered to-build, though in the' meantime the power to grant lands had been withdrawn from the legislature.
It is impossible to assent to such an application of the doctriné of vested rights. That subject was much considered and the authorities cited in Pearsall v. Great Northern Railway Company, 161 U. S. 646, and it was there held that a clause in a charter of a railroad corporation granting it certain •powers to consolidate with or become the owner of other-railroads was not such a vested right that it could not be rendered inoperative by a subsequent statute passed before the company had availed itself of the power granted. Provisions granting such rights or powers to a corporation, as observed in Bank of Commerce v. Tennessee, 163 U. S. 416, 425, "do not partake of the nature of a contract, which-can-, not for that reason be in any respect altered or the power recalled by subsequent legislation. Where no act is done' under, the provision and no vested right is acquired prior te the time when it was repealed, the provision may be validly recalled, -without thereby impairing the obligation of a contract."
The Supreme Court of Texas did not hold that the right te construct the line defined in the second special act of February 4,1854, and to earn lands by such construction, was affected by the constitutional provision; but held, in effect, that there could be no obligation, express or implied, to bestow lands for the construction of lines of road not authorized to be constructed until after the adoption of that provision.
The road from Columbus to San Antonio had not only not been constructed in 1869, but its construction had not been authorized ; and no principle of contract or vested rights intervened to defeat the. power of the State in 1869 to modify or even repeal the general law of 1854.
Argument was earnestly made at the bar that by reason of the amendment of section six of article X of the constitution of 1869 in 1873, and the subsequent passage of numerous acts granting land in aid of railroad construction, this company was entitled under section eleven of the act of July 27, 1870, which gave it the same rights or relief granted to other companies, to receive the certificates in controversy even though it was not entitled to them under previous legislation. That section apparently refers to existing rights or relief, and not to such as might afterwards be acquired or obtained. But this was matter of construction for the state courts, and was disposed of by the decision of the Court of Civil Appeals, on whose attention the point was pressed, though no allusion is made to it in the opinion of that court.
3. The constitutional amendment of 1873 having relieved the legislature of the restriction imposed by the constitution of 1869, the act of August 16, 1876, granted to railroad companies, on the completion of ten miles or more of their roads, sixteen sections of land for every mile so completed and put in good running order. On April 22, 1882, an act was passed repealing "all laws or parts of laws now in force granting lands or land certificates to any person, firm, corporation or company for the construction of railroads, canals and ditches." This act stated that the exhaustion of the public domain subject to location created an imperative public necessity for the act to take effect on its passage; and the record shows that there was a deficiency in the public domain, August 31, 1882, of 6,136,615 acres.
After August 16, 1876, the railway company constructed its road between San Antonio and El Paso, amounting to 623.14 mile's, much the largest portion thereof prior to April 22, 1882. No land certificates were issued or located for the construction of the road between these points. The company contended that by'the construction of its road between San Antonio and El'Páso it acquired under the act of August 16, 1876,- a contract and vested right, to sixteen sections pf laud for each- mile of road so constructed; that the issue of certificates had been prevented by the passage of the act of April'22, 1882; and that, consequently, that act impaired -the obligation of .the contract created by the act of- August 16, 1876, and divested the company of its right to lands in contravention of the Constitution of the United States. And further insisted that it was entitled to avail itself in this suit of this alleged unlawful deprivation not merely as a set-off or counter-claim against the State, but as an absolute defence. .
The case in this aspect is briefly this: The railway company sought and. obtamed certificates for building the road from Columbus to San Antonio, and had them located on the lands in question. But at- that time the state constitution forbade the granting of lands for railway construction and the issue of certificates therefor, and the Státe brought suit for the recovery of the lands and the 'cancellation of the illegally issued muniments of title, which went to a decree in its favor.
The question was as to whether the railroad company was entitled to the particular lands in controversy by virtue of the location thereon of certificates issued for building the road from Columbus to. San Antonio. The ruling was that, as. the law stood, nó title was acquired thereby, and the State was entitled to recover. But it was -also contended that no recovery could be had because the company had earned other lands of which it had been, as it-alleged, unlawfully deprived.
The Supreme Court of the- State -held that it was no defence to the suit, by' way of set-off, counter-claim, or otherwise, that tlie company might have beén entitled to land certificates for road constructed under the law of 1876, and' said that it had " never been ruled that the claimant of land against the State under a location made' by virtue of a void certificate has any equity in the premises by reason of being thé possessor of another valid certificate." •
In arriving at'this conclusion the state courts did not determine whether as to those other lands any vested right of the railway company had or. had mot been impaired or taken away; and we cannot hold that the company was denied by the judgment of those courts in this respect any title, right, privilege or immunity secured by the Constitution or laws of the United States.
Judgment affirmed.