William J. Brown Jr. was developing staplers in Philadelphia PA in the late 1870s. The first stapling machine with a magazine that held a supply of preformed wire staples that were fed automatically to the staple-driving mechanism was patented in 1878. The Brown No. 5 Stapling Machine was patented in 1887.