The influence of this decision, however, availed Whitney very little, for the term of his patent had nearly expired. During Miller's life more than sixty suits had been instituted in Georgia, and but a single decision on the merits of the claim was obtained. In prosecution of his troublesome business, Whitney had made six different journeys to Georgia, several of which were accomplished by land at a time when the difficulties of such journeys were exceedingly great. A gentleman who was well acquainted with Whitney's affairs in the South, and sometimes acted as his legal adviser, says that in all his experience in the thorny profession of the law he never saw a case of such perseverance under prosecution. He adds: "Nor do I believe that I ever knew any other man who would have met them with equal coolness and firmness, or who would finally have obtained even the partial success which he did. He always called on me in New York on his way South when going to attend his endless trials and to meet the mischievous contrivances of men, who seemed inexhaustible in their resources of evil. Even now, after thirty years, my head aches to recollect his narratives of new trials, fresh disappointments, and accumulated wrongs."

In 1798 Whitney had become deeply impressed with the uncertainty of all his hopes founded upon the cotton-gin, and began to think seriously of devoting himself to some business in which his superior ingenuity, seconded by uncommon industry, would conduct him by a slow but sure road to a competent fortune. It may be considered indicative of solid judgment and a well-balanced mind that he did not, as is so frequently the case with men of inventive genius, become so poisoned with the hopes of vast wealth as to be disqualified for making a reasonable provision for life by the sober earnings of private industry. The enterprise which he selected in accordance with these views was the manufacture of arms for the United States. Through Oliver Wolcott, then Secretary of the Treasury, he obtained a contract for the manufacture of 10,000 stand of arms, 4,000 of which were to be delivered before the last of September of the ensuing year, 1799. Whitney purchased for his works a site called East Rock, near New Haven, now known as Whitneyville, and justly admired for the romantic beauty of its scenery. A water-fall offered the necessary power for the machinery.

Here he began operations with great zeal. His machinery was yet to be built, his material collected, and even his workmen to be taught, and that in a business with which he was imperfectly acquainted.

A severe winter retarded his operations and rendered him incompetent to fulfil the contract. Only 500 instead of 4,000 stands were delivered the first year, and eight years instead of two were found necessary for completing the whole. During the eight years Whitney was occupied in performing this work, he applied himself to business with the most exemplary diligence, rising every morning as soon as it was day, and at night setting everything in order in all parts of the establishment. His genius impressed itself on every part of the factory, extending even to the most common tools, most of which received some peculiar modification which improved them in accuracy or efficiency. His machines for making the several parts of the musket were made to operate with the greatest possible degree of uniformity and precision. The object at which he aimed, and which he fully accomplished, was to make the same parts of different guns, as the locks, for instance, as much like each other as the successive impressions of a copper-plate engraving, and it has generally been considered that Whitney greatly improved the way of manufacturing arms and laid his country under permanent obligations by augmenting our facilities for national defence. In 1812 he made a contract to manufacture for the United States 15,000 stand of arms, and in the meantime a similar contract with the State of New York. Several other persons made contracts with the Government at about the same time and attempted the manufacture of muskets. The result of their efforts was a complete failure, and in some instances they expended a considerable fortune in addition to the amount received for their work. In 1822 Calhoun, then Secretary of War, admitted in a conversation with Whitney that the Government was saving $25,000 a year at the public armories alone by his improvements, and it should be remembered that the utility of Whitney's labors during this part of his life was not limited to this particular business.

In 1812 Whitney made application to Congress for the renewal of his patent for the cotton-gin. In his memorial he presented the history of the struggles he had been forced to make in defence of his rights, observing that he had been unable to obtain any decision on the merits of his claim until thirteen years of his patent had expired. He states also that his invention had been a source of opulence to thousands of the citizens of the United States; that as a labor-saving machine it would enable one man to perform the work of a thousand men, and that it furnished to the whole family of mankind, at a very cheap rate, the most essential material for their clothing. Although so great advantages had already been experienced, and the prospect of future benefits was so promising, still, many of those whose interest had been most promoted and the value of whose property had been most enhanced by this invention, had obstinately persisted in refusing to make any compensation to the inventor. From the State in which he had first made, and where, he had first introduced his machine, and which had derived the most signal benefits—Georgia—he had received nothing; and from no State had he received the amount of half a cent per pound on the cotton cleaned with his machines in one year. Estimating the value of the labor of one man at twenty cents a day, the whole amount which had been received by him for his invention was not equal to the value of the labor saved in one hour by his machines then in use in the United States. He continues:

"It is objected that if the patentee succeeds in procuring the renewal of his patent he will be too rich. There is no probability that the patentee, if the term of his patent were extended for twenty years, would ever obtain for his invention one-half as much as many an individual will gain by the use of it. Up to the present time the whole amount of what he had acquired from this source, after deducting his expenses, does not exceed one-half the sum which a single individual has gained by the use of the machine in one year. It is true that considerable sums have been obtained from some of the States where the machine is used, but no small portion of these sums has been expended in prosecuting his claim in a State where nothing has been obtained, and where his machine has been used to the greatest advantage."

Notwithstanding these cogent arguments, the application was rejected by the courts. Some liberal-minded and enlightened men from the cotton districts favored the petition, but a majority of the members from that part of the Union were warmly opposed to granting it. In a letter to Robert Fulton, Whitney says:

"The difficulties with which I have to contend have originated, principally, in the want of a disposition in mankind to do justice. My invention was new and distinct from every other; it stood alone. It was not interwoven with anything before known; and it can seldom happen that an invention or improvement is so strongly marked and can be so clearly and specifically identified; and I have always believed that I should have no difficulty in causing my right to be respected, if it had been less valuable, and been used only by a small portion of the community. But the use of this machine being immensely profitable to almost every planter in the cotton districts, all were interested in trespassing upon the patent-right, and each kept the other in countenance. Demagogues made themselves popular by misrepresentations and unfounded clamors, both against the right and against the law made for its protection. Hence there arose associations and combinations to oppose both. At one time, but few men in Georgia dared to come into court and testify to the most simple facts within their knowledge, relative to the use of the machine. In one instance I had great difficulty in proving that the machine had been used in Georgia, although at the same moment there were three separate sets of this machinery in motion within fifty yards of the building in which the court sat, and all so near that the rattling of the wheels was distinctly heard on the steps of the court-house."

Such perseverance, patience, and uncommon skill were not, however, to go wholly unrewarded. Whitney's factory of arms in New Haven made money for him, and the Southern States were not all guilty of ingratitude. Moreover, in his private life he was extremely fortunate. In January, 1817, he married Henrietta Edwards, the youngest daughter of Judge Pierpont Edwards, of Connecticut. A son and three daughters contributed to the sunshine of the close of a somewhat stormy and eventful life. His last years were his happiest. He found prosperity and honor in New Haven, where he died on January 8, 1825, after a tedious illness.