|Q as a Starfleet admiral|
The first recorded encounter between Q and the United Federation of Planets took place aboard the USS Enterprise-D in 2364, when he placed humanity on trail for being a "dangerous, savage, child-race." He has appeared numerous times since, most often taking the form of a humanoid Starfleet Captain, frequently interacting with the Enterprise crew, especially Jean-Luc Picard. He eventually formed a brief partnership with Vash, and later took an interest in Captain Kathryn Janeway of the USS Voyager. (TNG: "Encounter at Farpoint", "Q-Pid", et. al; DS9: "Q-Less"; VOY: "Death Wish", et. al)
Often a juvenile, "fun-loving" trickster, Q's most enduring legacy in his encounters with humanity is infinitely more somber: he was directly responsible for "introducing" the Federation - in the person of the Enterprise crew - to the Borg Collective in 2365, which eventually led to the disastrous Battle of Wolf 359 and the near assimilation of Earth. (TNG: "Q Who", "The Best of Both Worlds, Part II")
In 2373, Q was revealed to be the cause of a temporal incident that affected key citizens of planet Hogwarts (more specifically Lieutenant Commander Hermione Granger and Ambassador Harold James "Harry" Potter). Upon declaring that Mr. and Mrs. Potter has passed his latest test, Q helped ensure that no further damage to the timeline was incurred. (Harry Potter and the Fountain of Possibilities: "A True Destiny")
In 2387, Q appeared in an alternate timeline after Annika Hansen suffered from hallucinations and the Romulans were seemingly praised because they have changed ways. However, the Klingons of that alternate timeline were more industrious so they actually fulfilled all the contracts for PumwI'-class and QeylIS BetleH-class ships they signed with the Romulans, making them have five of the former and one of the latter. (RIS Bouteina: "Limit at Plus Infinity")
In 2409, Q appeared in Captain Kanril Eleya's ready room on the USS Bajor after the ship had escaped from a spatial anomaly. They traded insults briefly--"get the phekk off my desk!"--before he revealed he had come to bail her out, although she'd solved the problem herself before he got there. Q left her a rather cryptic warning that "the puppeteer is also a puppet." (Bait and Switch: "An Anomalous Nightmare")
- RIS Bouteina
- Star Trek: Phoenix-X
- Star Trek: Pioneer
- Star Trek: Special Operations
- "The Good, the Q, and the Ugly"
- "We, the Living Dead"
- Bait and Switch: "An Anomalous Nightmare"
- Harry Potter and the Fountain of Possibilities