"Castle Dangerous," published by Sir Walter Scott in 1831, is a historical novel set in the late 14th century during the Scottish Wars of Independence. It is Scott's final novel and, like many of his works, combines historical events with romantic and adventurous elements.