This section is from the book "Constitutional Law In The United States", by Emlin McClain. Also available from Amazon: Constitutional Law in the United States.
The jurisdiction of suits in which the party or parties on one side are citizens of a different state from that of the party or parties on the other, furnishes the larger part of the civil business in the ordinary federal courts. The object of the provision with reference to such suits is to secure to the parties in such cases a trial before a court free from any possible prejudice or bias on account of the citizenship of the parties on the one side or the other.
To determine the citizenship of a party, in order to ascertain whether the case is one involving diverse citizenship as described in the constitutional language, the test now applied is that of the Fourteenth Amendment. Prior to the adoption of that amendment there may have been some uncertainty as to the test of citizenship in a state; but now the simple rule is to ascertain whether the party in question is a citizen of the United States either by birth or naturalization, and, if so, whether he has a legal residence in the state of which he claims to be a citizen. It is to be noticed that by the language of the constitution the controversy must be between citizens of different states, that is, the party on one side must be a citizen of a different state from that of which the other is a citizen. It follows that controversies between a citizen of one state and a citizen of the United States having his legal residence in the District of Columbia or in a territory, is not within that class of cases, for it is not a controversy between citizens of different states, the District of Columbia not being considered a state in this sense, and territories of course being excluded by the terms used. A controversy between a citizen of a state and an alien would not fall within the terras of this provision, but it is covered by the last clause of the section relating to controversies between a citizen of a state and a citizen or subject of a foreign state.
Under the clause as to diverse citizenship a corporation is deemed a citizen of the state in which it is organized and authorized to do business. For some purposes a corporation is said not to be a citizen, as that term is used in other sections of the constitution, and perhaps it is only by a fiction that a controversy between a corporation of one state and a citizen or corporation of another can be said to be a controversy between citizens of different states (Ohio, etc. R. Co. v. Wheeler). But it is well settled that, for the purpose of determining the jurisdiction of the federal courts, a corporation is for practical purposes a citizen of the state of its organization and under the laws of which it is authorized to transact business. While a corporation organized in one state, and authorized there to do business, may also transact business in another state by acquiescence or express permission of the latter, it is not, however, a corporation of that state with reference to the jurisdiction of the federal courts under this clause (St. Louis, etc. R. Co. v. James).
 
Continue to: