When was the first statutory patent issued?

History Trivia: When was the first statutory patent issued?