is a character on the science fiction television series ''
Stargate SG-1 '' and ''
Stargate Atlantis '', played by the actor
Peter Flemming .
He is an agent of the shadowy intelligence agency know as
NID , sent on missions of the utmost importance regarding the internal security of the United States government with regards to the
Stargate . In spite of the NID's traditional image of being a dark, shadowy and oily agency, Barrett is an example of the N.I.D.'s upright and legal operations, proving that not all agents under the banner of the organization support its illegal and black-ops projects, incurring a significant amount of risk to his career.
Barrett first appeared in "
Wormhole X-Treme ". However, he becomes truly significant after Senator Kinsey's apparent assassination by
Jack O'Neill . Barrett was called to the White House and given a special assignment, ordered to track down the shadow group pulling the strings behind the N.I.D.'s rogue arm, and bring them to justice. In addition, he was approached by
Samantha Carter , who was seeking to exonerate O'Neill. Together, they discover that the rogue NID agents work for a group of powerful businessmen who want to find commercial applications for technologies brought back from other worlds through the
Stargate . ("
Smoke & Mirrors ").
Barrett later appears in "
Heroes, Part 2 " briefly, to inform Carter that while
Richard Woolsey is an honest man, he has a strong dislike for secret military operations such as the
SGC . He has a more important role when he assists Carter and Dr.
Daniel Jackson interview and inspect a
Goa'uld -human hybrid found in a lab in California. ("
Resurrection ")
In "
Ex Deus Machina ", Barrett and other NID agents assisted Samantha Carter and Daniel Jackson in the search for
Ba'al .
He later warned
General Landry that
The Trust has infiltrated a lower-level operative into the Atlantis mission who has planted a bomb to destroy the city, set to be detonated the next time Atlantis dials Earth ("
Critical Mass ").
Barrett has a personal interest in Samantha Carter and, when she ended her engagement to her crushed fiance, eventually managed to work up the nerve to make an advance. However, he was quickly rejected by Carter because she was still struggling to come to terms with her own feelings towards now-General O'Neill.