When was the first bunt in baseball?

The first bunt in baseball was in 1866.

Tom Barlow of the Brooklyn Atlantics is credited as the pioneer of the bunt, for which baseball purists did not care for.