What was the first functional submarine called?

The Turtle was made of wood and used in the American Revolution.