When was the first statutory patent issued?

When was the first statutory patent issued?