The Duke of Portland took the existing natural harbour on the north side of the headland and added docks. Later improvements included increasing the protection afforded by the headland with an artificial "ballast bank" made from the dumped ballast of incoming merchant ships. And from 1812 Troon was the terminus of a horse-drawn railway connecting it to the Duke's coal mines around Kilmarnock. This was not licensed for passengers, a minor technicality evaded by weighing those wishing to travel and charging them freight rates.