Just outside the town of Askeran, 14km north of Stepanakert, is the impressive ruin of Mayraberd Fortess. Built by Panah Khan in the 18th century, it once stretched 1.5km across the valley and still boasts huge medieval walls and towers.