The US government took steps before Pearl Harbor to prepare the economy and people for potential war, including establishing agencies to ration goods and raise money. When Japan attacked, Americans supported the war effort through rationing, victory gardens, paying taxes, and buying war bonds. Women entered the workforce in large numbers to replace men, shown iconically by "Rosie the Riveter." US production vastly increased to equip soldiers, building hundreds of thousands of weapons from 1940-1945.