Kirkpatrick Macmillan, a Scottish blacksmith born in 1812, invented the first bicycle with pedals in 1842. He was a blacksmith who worked with his father and invented his first machine in 1839. Macmillan died in 1878, and his invention of the bicycle allowed for environmentally-friendly transportation that has since become widely used around the world.