In 1623, a German astronomer invented the earliest known mechanical calculating machine, known as the calculating clock.