Castletown is a town in the Isle of Man, geographically within the historical parish of Malew but administered separately. Lying at the south of the island, it was the Manx capital until 1869. The centre of town is dominated by Castle Rushen, a well-preserved medieval castle, originally built for a Viking king.