Actually the first pen of the type wasn't created for writing. It was created by an ordinary tanner who couldn't mark leather with common pens of that time (fountain ones). In 1888 the first ballpoint pen was a construction which included a tiny steel ball held in a socket. It was a bit unpractical as it was too rough for writing. Thus, the invention was forgotten up till the 20th century.