The power to regulate commerce does not look to the principle by which boats were moved. That power was left to individual discretion. The act demonstrates the opinion of Congress that steamboats may be enrolled and licensed in common with vessels using sails. They are, of course, entitled to the same privileges and can no more be restrained from navigating waters and entering ports, which are free to such vessels, than if they were wafted on their voyage by the winds instead of being propelled by the agency of fire. The one element may be as legitimately used as the other, for every commercial purpose authorized by the laws of the river, and the act of a State inhibiting the use of either to any vessel, having a license under the act of Congress, comes, we think, in direct collision with that act. The acts of the Legislature of the State of New York, granting to Robert R. Livingston and Robert Fulton the exclusive navigation of all the waters within the jurisdiction of that State, with boats moved by fire or steam, for a term of years, are repugnant to that clause of the constitution of the United States, which authorizes Congress to regulate commerce, so far as the said acts prohibit vessels licensed, according to the laws of the United States, for carrying on the coasting trade, from navigating the said waters by means of fire or steam.