When was the first keyboard invented and who invented it?

Perhaps Henry Mill, who patented the first typewriter in 1714. There are other people that people claim as the inventor, but this is the earliest claim that I can find.

The first QUERTY typewriter keyboard was invented in 1873 by Christopher Sholes, one of the many people who were part of inventing the typewriter in its current form.