Master & Commander by Patrick O'Brien
The 2003 film of the same name is based on these books, of which there are at least 20. It's very good, although I find myself having to stop to look up the nautical references at least once a page. The language is also difficult, as it was written as spoken in the 1800's.