delivered the opinion of the court.
The principal question presented by the record of' this, case is,, whether a municipal corporation of a State, having by the law of its organization an exclusive right to make wharves, collect wharfage, and regulate wharfage rates, can, consistently with the Constitution of the. United States* charge and collect wharfage proportioned to the tonnage.of the vessels from the' owners of enrolled and licensed steamboats mooring and landing at' the wharves constructed cm- the banks of a navigable river.
The city of Keokuk is such a corporation, existing by virtue of a special charter granted by the legislature of Iowa. To determine whether the charge prescribed by the ordinance in question is a duty of tonnage, within the meaning of the Constitution, it is necessary to observe carefully its object and essence. If the charge is clearly a duty, a tax, or burden, which in its essence is a contribution claimed for the privilege of entering the port of Keokuk, or remaining in it, or departing from it, imposed, as .it is, by authority of .the State, and measured by the capacity of the vessel, it is doubtless embraced by the constitutional prohibition of such a duty. But a charge for services rendered or for conveniences provided is in no sense a tax pr a duty. ' It is not a hindrance or impediment to free navigation 'The prohibition to the State against the iinposi
No doubt, neither a State nor a municipal corporation can be permitted to impose a tax upon tonnage under cover of laws or ordinances ostensibly passed to collect wharfage. This has sometimes bqen attempted, but the ordinances will always be-carefully scrutinized. In
Cannon
v.
New
Orleans, the ordinance was held invalid, not because the charge was for wharf-age, nor éven because it was proportioned to the tonnage of the vessels, but because the charge was not for wharfage or any service rendered. It was for stopping in the harbor, though no wharf was used. Such, also, was
North-western Packet Co.
v.
St.
Paul,
It is insisted, however, on behalf of the plaintiffs in error, that the charge prescribed by the ordinance must be considered as an imposition of a duty of tonnage, because it, is regulated by and proportioned to the number of tons of the vessels using the wharf; and the argument is attempted to be supported by the ruling of this court in
State Tonnage Tax Cases,
For these reasons, we hold that the ordinance' cannot be considered as imposing a duty of tonnage, and what we have said is sufficient to show that most of the other objections of the plaintiffs in error to its validity have no substantial foundation. It is iii no sense a regulation of commerce between the States,, nor does, it impose- duties upon vessels bound to or from one State to another, nor compel entry or clearance in the port of Keokuk; n.or is it contrary to the compact contained in the ordinance of 1787, since it levies no tax for the navigatien of the river.;, nor is it in conflict with the act of Congress respecting the enrolment and license of vessels for the coasting trader All these objections rest on the mistaken assumption that port charges, and especially wharfage, are taxes, duties,.and restraints of commerce.
In nothing that we .have said do we mean to be understood as affirming that a city can, by ordinance or otherwise, charge or collect wharfage for merely entering its port, or stopping
Judgment affirmed
