The United States captured a great many Spanish artillery pieces during both the Mexican-American War (1846-1848) and Spanish-American War. After the US Civil War (1861-1865), every American burg wanted a Civil War-era artillery piece in its town square, as a rememberance of the conflict: Guns of this sort were in such high demand that many non-authentic guns were pawned off on unsuspecting townships.

It seems to me that an artillery piece captured from a foreign power (or in this case, Spain) would be an even cooler thing to have in front of your town hall! The US raked in so many Spanish pieces during the Spanish-American War (mostly elderly guns that had been sitting in a menacing fashion in Spain's many colonial lands) that I can't imagine any township that wanted one couldn't have one.