The first true accordion was created in 1822 by a German named Christian Friedrich Buschmann. From 1830's onwards, the accordion began to develope at a rapid pace.
It is still used in the same way today. Although early accordions did not have shoulder straps that allowed the player to hold the instrument close to the body.