Humpty Dumpty was a powerful cannon during the English Civil War (1642-49). It was mounted on top of St Mary's at the Wall Church in Colchester. The 'men' would have been infantry, and 'horses' the cavalry troops.
Image: By Library of Congress [1], Public Domain, https://commons.wikimedia.org/w/index.php?curid=11121180