Patents have been a thing in the US since 1790 (even earlier, technically, as they are specifically called out in the constitution). What period of unencumbered free markets are you referring to?
https://www.history.com/news/industrial-revolution-spies-eur...