For some reason one day I got really obsessed with the Golden Age of Sail (so like ~1700 to ~1820), including things like Caribbean piracy and the Napoleonic war, particularly the ships and how they worked. It stuck with me for years and I, whose main passion is fantasy, eventually ended up writing a novel combining the two.
Thinking about it I blame the Pirates of the Caribbean movies for starting this off. 