This depends on one’s definition of bicycle. In 1816 Baron Karl von Drais built what came to be known as a draisine. He rode it in the forests of the Duke of Baden as the duke’s “Master of Woods and Forests”.