The ancestries of the modern guitar is not known with certainty.
During the late Middle Ages, gitterns called "guitars" were in use, but their construction and tuning was different from modern guitars.