Eli Whitney secured a contract with the U.S. government to manufacture 10,000 to 15,000 muskets. This event signifies Whitney's shift from cotton gin manufacturing to arms production, driven by financial needs and the government's push for military preparedness.