A person in the US illegally may not lawfully purchase or possess firearms or ammunition. THAT was the Federal law they broke. For lawful residents of the US, there IS no limit. Some municipal fire codes may limit MASS quantities of powder and ammo.