Zamphor (also known as Digifal III) was a planet located somewhere in the galaxy's Alpha or Beta Quadrants, the third planet in orbit of the Digifal star system, in the space of the Federation. An M class planet, Zamphor was inhabited until that civilization abandoned the world approximately twenty thousand years before the 23rd century. It was declared protected by the Federation for archaeological reasons.
On around stardate 6097.3, the USS Enterprise was sent by the Klingons and Starfleet to apprehend a "criminal" who was accused for devastating Hrakkour. A landing party of Captain James T. Kirk, Commander Spock, Doctor Leonard McCoy and Lieutenant Stragey arrived on the planet. They met Quetzecoatl who, angered with Kirk's accusations, imprisoned them in a pit.
With the actions of James Kirk, the team escaped and passed the trials Quetzecoatl put for them. Seeing that his accusers were honorable, Quetzecoatl decided to hear them and agreed to come with them on the Enterprise. (TOS video game: 25th Anniversary)