By the 18th century, such wagonways and tramways existed in a number of areas. Ralph Allen, for example, constructed a tramway to transport stone from a local quarry to supply the needs of the builders of the Georgian terraces of Bath. The Battle of Prestonpans, in the Jacobite rising of 1745, was fought astride the 1722 Tranent – Cockenzie Waggonway. This type of transport spread rapidly through the whole Tyneside coalfield, and the greatest number of lines were to be found in the coalfield near Newcastle upon Tyne. They were mostly used to transport coal in chaldron wagons from the coalpits to a staithe (a wooden pier) on the river bank, whence coal could be shipped to London by collier brigs. The wagonways were engineered so that trains of coal wagons could descend to the staithe by gravity, being braked by a brakesman who would "sprag" the wheels by jamming them. Wagonways on less steep gradients could be retarded by allowing the wheels to bind on curves. As the work became more wearing on the horses, a vehicle known as a dandy wagon was introduced, in which the horse could rest on downhill stretches.