The map was originally created by James Potter, Sirius Black, Remus Lupin, and Peter Pettigrew (the Marauders) when they were students at Hogwarts.
The map was passed down to Harry Potter through his father James.