Immediately after the conquest of California, the government of the United States, through its various departments, made arrangements for the transportation of the mails between that territory and the Atlantic ports by way of Panama. By an act of Congress, passed March 3, 1847, it was, amongst other things, enacted as follows:--

'SECT. 4. And be it further enacted, That, from and immediately after the passage of this act, it shall be the duty of the Secretary of the Navy to contract, on the part of the government of the United States, with A. G. Sloo, of Cincinnati, for the transportation of the United States mail from New York to New Orleans twice a month and back, touching at Charleston (if practicable), Savannah, and Havana; and from Havana to Chagres and back, twice a month. The said mail to be transported in at least five steamships of not less than fifteen hundred tons burden, and propelled by engines of not less than one thousand horse-power each, to be constructed under the superintendence and direction of a naval constructor in the employ of the Navy Department, and to be so constructed as to render them convertible, at the least possible expense, into war-steamers of the first class; and that the said steamships shall be commanded by officers of the United States navy not below the grade of lieutenant, who shall be selected by the contractor, with the approval and consent of the Secretary of the Navy, and who shall be suitably accommodated without charge to the government. Each of said steamers shall receive on board four passed midshipmen of the United States navy, who shall serve as watch-officers, and be suitably accommodated without charge to the government; and each of the said steamers shall also receive on board and accommodate, without charge to the government, one agent, to be appointed by the Postmaster-General, who shall have charge of the mails to be transported in said steamers. Provided the Secretary of the Navy may, at his discretion, permit a steamer of not less than six hundred tons burden, and engines in proportion, to be employed in the mail-service herein provided for between Havana and Chagres; provided further, that the compensation for said service shall not exceed the sum of $290,000, and that good and sufficient security be required for the faithful fulfilment of the stipulations of the contract.'

Roberts v. United States (92 U.S. 41)/Opinion of the Court

In pursuance of this act, on the 20th of April, 1847, a contract was made by the Navy Department with Sloo, whereby he agreed to build five naval steamships, capable of being converted to the purposes of naval warfare, of which four were to be not less than fifteen hundred tons burden, and one to be not less than six hundred. The four larger ones were to carry the mails between New York and New Orleans, touching at Charleston, Savannah, and Havana, twice a month and back; and the smaller one was to be run from Havana to Chagres and back twice a month, carrying the mails for the Pacific. The compensation was to be $290,000 per annum, and the period of service was to be ten years. The contract, amongst other things, contained the following provision:-- 'And it is further agreed by and between the parties aforesaid, that on tender of compensation by the said government of the United States, not exceeding a due proportion of the pay herein stipulated, the said A. G. Sloo, contractor, shall convey any mail or mails of the said United States which he may be required to convey on any steamship which he, the said Sloo, may own, run, or control on the routes aforesaid beyond the number of trips herein specified.'

Roberts v. United States (92 U.S. 41)/Opinion of the Court