Piltene is one of the smallest and oldest cities in Latvia, first mentioned in 1295, and being granted the rights of a city in 1557. Between the 14th and 16th century, Piltene was the administrative centre for the Bishopric of Kurzeme. The historical streets that surround the castle ruins feature wooden buildings from the first half of the 19th century. The bishop’s castle in Piltene was built at the turn of the 14th century and used until the 16th century. Only its foundations and fragments of its tower on the banks of the Vecventa River survive.