Both Lord Byron and Walter Scott created their characters by leaning on historical facts but still creating romanticizing them to a great degree. Because they exposed the British audience to such characters, they sent the message that pirates may be bad, but pirate captains are cool.