1830 AD
Charles Babbage's Analytical Engine
In 1822, Babbage proposed building a machine called the Difference Engine to automatically calculate mathematical tables. The Difference Engine was only partially completed when Babbage conceived the idea of another, more sophisticated machine called an Analytical Engine.
(Some texts refer to this machine as an "Analytical Steam Engine," because Babbage intended that it would be powered by steam).
The Analytical Engine was intended to use loops of Jacquard's punched cards to control an automatic calculator, which could make decisions based on the results of previous computations. This machine was also intended to employ several features subsequently used in modern computers, including sequential control, branching, and looping.
That was the worlds first "Programmable" computer