With the advent of gunpowder in the late 15th century, war elephants became obsolete