Shakespeare sourced characters and plots for his plays from various classical texts and historical accounts. He would often take artistic license with the source material create the stories we know today.