The town as it is now was designed by King Charles III in the 18th century. Of particular note is the Castle of Saint John of the Águilas, which was used as a defence tower by various civilisations who settled there throughout history. The city was extended by the construction of its sister port, maritime walks, and its bays of Levante and Poniente. At the end stands the slender figure of the "Chimenea de la Loma" (Chimney on the Hill) on the west side of town, a symbol of the mineral boom of the last century. During the Restoration, owing to the great investment by the British, a route was laid between Lorca, Baza and Águilas in order to transport esparto and other exported minerals, making the town one of the principal ports of the Mediterranean. It is in this period that the Hornillo Pier, a great architectural work of the time made of iron and concrete, was constructed. In the 19th century it was connected by rail to Huércal-Overa; later rail connections were to Lorca and Murcia.