A notable weapon developed towards the end of the American Civil War by the Union was the Spencer carbine, one of the first breechloading, repeating weapons. It had a spring-powered, removable tube magazine in the buttstock which held seven rounds and could be reloaded by inserting spare tubes. It was intended to give the cavalry a replacement weapon which could be fired from horseback without the need for awkward reloading after each shot – although it saw service mostly with dismounted troopers, as was typical of cavalry weapons during that war.