(covers information from several alternate timelines)
Ayala was a Maquis who served as Chakotay's right-hand man aboard the raider Val Jean. When he became stranded in the Delta Quadrant aboard the Starfleet vessel USS Voyager, he joined its crew as a security officer. He returned to the Alpha Quadrant with Voyager in 2378. (VOY: "Caretaker", "Endgame")
In 2371, Ayala was a member of Chakotay's crew aboard the Val Jean. When Gul Evek's ship, the Vetar, attacked the Maquis vessel in the Badlands, he attempted to make repairs to the bridge. After the Val Jean was transported to the Delta Quadrant by the Caretaker's array, Ayala was brought aboard the array for testing by the Caretaker, then returned to the Val Jean unharmed. He later boarded Voyager along with Chakotay and Tuvok at Captain Kathryn Janeway's invitation. When it was revealed that Tuvok was a spy for the Federation, Ayala attempted to attack him, but was held back by Chakotay. He was issued a compression phaser rifle and beamed to the array with an away team to scout for Harry Kim and B'Elanna Torres with Tuvok, but was soon returned to Voyager by the Caretaker. The Val Jean was later destroyed after it rammed a Kazon carrier vessel, and the Maquis were forced to join Voyager's crew for the journey home. (VOY: "Caretaker")
Ayala was transported aboard Voyager with B'Elanna Torres and at least two other Maquis crew. In an alternate timeline created several years later by a spatial rift, he was trapped in the transporter room with the Maquis. Chakotay, who originated from the time period where Voyager encountered the rift, injected Torres and Ayala with a chroniton-infused serum which allowed them to move between the time periods, to retake main engineering from Seska. This alternate timeline was later erased when a chroniton field brought Voyager back into temporal sync. (VOY: "Shattered")
Life on Voyager
Ayala was given provisional rank of lieutenant junior grade, initially in the engineering and operations divisions, but eventually in security. (VOY: "Parallax", "Faces", "The 37's") He was generally assigned to the bridge as a relief tactical officer. (VOY: "Cathexis", "Warlord", "Hope and Fear", "Extreme Risk", "Juggernaut") He also served as operations officer at various points in 2371 and 2372. (VOY: "The Cloud") Ayala was left in command of the bridge when the ship was affected by a distortion ring being. (VOY: "Twisted")
In 2372, Tuvix, an individual created after a transporter accident fused Tuvok and Neelix together, tried to gather support from Voyager bridge crew, including Ayala, after Captain Janeway decided to restore Tuvok and Neelix. His pleading went unanswered. (VOY: "Tuvix")
Later that year, Ayala was stranded on Hanon IV when the Kazon took control of the ship. (VOY: "Basics, Part I") He was initially part of Chakotay's team, searching for food and water. Along with Lieutenant Torres, Ayala created a diversion to lure the Hanonians away from the cave in which several Voyager crew members were trapped. (VOY: "Basics, Part II")
He manned an aft station when the Voyager traveled back into the year 1996, faced Henry Starling and Captain Braxton, and when the ship entered Borg space in 2373 and made first contact with Species 8472. (VOY: "Future's End", "Future's End, Part II", "Scorpion")
He was working on the bridge when Captain Janeway piloted the ship into a binary pulsar to protect her crew from the Srivani experiments, in 2374. He also replaced Tuvok at the tactical station while the chief of security carried out an investigation on the Mari homeworld. (VOY: "Scientific Method", "Random Thoughts")
Later that year, Ayala was on duty on the bridge when the Voyager made contact with a Krenim patrol ship. Due to the temporal incursions of the Krenim weapon ship, Ayala went into an alternate timeline in which the Voyager was heavily damaged by a Krenim warship. In this timeline, Ayala worked as relief tactical officer until he was replaced by Tuvok who suffered from blindness. (VOY: "Year of Hell")
Ayala was also working on the bridge when Commander Chakotay received the first letter from the Alpha Quadrant through the Hirogen communications network in late-2374. He was one of the excited bridge crew hoping to receive a message from home. When Tuvok and Seven of Nine boarded the shuttlecraft Cochrane for an away mission to the Hirogen relay station, Ayala worked as relief tactical officer during the confrontation with a Hirogen warship. (VOY: "Hunters")
In 2375, while Lieutenant Commander Tuvok was missing with an away team aboard the Delta Flyer, Lieutenant Ayala served as acting tactical officer. With the crew at continuous work to find the away team, Captain Janeway asked him to contact the Beta team on the surface, as they had not reported in for an hour. At the same time, Neelix also offered the bridge crew some coffee, of which Ayala accepted a cup. (VOY: "Once Upon a Time")
In 2376, He was standing on the bridge in the background next to the console, when the Captain Janeway went to the station to speak with Harry Kim. Ayala was also on the bridge when the Pathfinder Project established real-time communication with Voyager, and he attended the party in the mess hall following the historic event. He was also manning the bridge when another command division officer walked to his station.(VOY: "Pathfinder", "Virtuoso", "Good Shepherd")
Ayala took part in several away team missions as a security guard. (VOY: "The 37's", "Threshold", "Unity") He was occasionally assigned to guard prisoners in the brig, such as when the captain confronted Seska (VOY: "State of Flux") or Lon Suder, (VOY: "Meld") Seven of Nine, (VOY: "The Gift") Dala, (VOY: "Live Fast and Prosper") and Gar. (VOY: "Critical Care") Ayala also escorted guests aboard Voyager to sensitive areas such as the bridge or the briefing room. (VOY: "Blink of an Eye", "Ashes to Ashes")
Loss of identity
In 2377, he was attacked by Tuvok, who was under the mental control of a Bajoran vedek named Teero Anaydis. Tuvok mind melded with Ayala and other Maquis, inciting them to mutiny and overthrow Captain Janeway. He once again served as Chakotay's right-hand man, and guarded him in the captain's ready room. He was present when Chakotay tested Tuvok's loyalty by ordering Tuvok to fire a phaser at Captain Janeway. Ayala was returned to normal along with the rest of the Maquis once Tuvok recovered. (VOY: "Repression")
Later that year, when nearly the entire Voyager crew was abducted by Dr. Kadan, his identity was reassigned to that of a laborer at a power plant, working for the Quarren. He worked at the same power plant as Seven of Nine, Janeway, Torres, and Tuvok. Ayala's personnel file at the plant was one of many Voyager crew files accessed by Tuvok, whose memory was still partially intact. (VOY: "Workforce", "Workforce, Part II")
In an alternate timeline created after Voyager crash landed on a planet after using a quantum slipstream drive, Ayala was killed with most of the crew. In 2390, his frozen body was found by Harry Kim in a Jefferies tube, shortly before the timeline was erased and Voyager's destruction averted. (VOY: "Timeless")
In 2376, when Kes returned to seek revenge against the Voyager crew, Ayala and a security team was sent to intercept her, and he was injured by her telekinetic abilities. The timeline was changed when Kes time traveled to 2371, and Janeway had these sections evacuated when Kes returned. (VOY: "Fury")
Personal life and family
Not long after he joined Voyager, a jealous Neelix worried that Kes might be romantically interested in Ayala, among other Voyager crew members. (VOY: "Twisted") However, the Talaxian morale officer soon altered his opinion of the man, even to the point of helping Ayala deal with the distance between him and his two sons whom he missed very much, as they were countless light years away from him. (VOY: "Initiations")
He also attended the holodeck luau planned by Neelix later that year. (VOY: "Alter Ego") Ayala participated in several of Tom Paris' holosimulations, including Fair Haven, and was one of the crew members who was involved in a barroom fight instigated by one of the holographic characters. (VOY: "Fair Haven") Ayala was also present during a screening of Attack of the Lobster People at a simulation of the Palace Theater. (VOY: "Repression")
Ayala participated in Neelix's celebration of the 315th anniversary of First Contact, and was amused by Neelix's dancing. He later bade Neelix farewell outside the shuttlebay with the rest of the Voyager crew. (VOY: "Homestead")
Ayala's physical parameters have been used in a number of holographic simulations:
- In Tuvok's Insurrection Alpha program, Ayala was ordered to take the helm after the Maquis were successful in commandeering Voyager. If the participant in the simulation decided to help the Starfleet crew, Ayala apprehended the participant and brought them to the brig. (VOY: "Worst Case Scenario")
- Ayala was seen in the mess hall in the program created by The Doctor in order to improve Seven of Nine's social skills in 2374. (VOY: "One")
- In Maquis garb, he was part of Reginald Barclay's holographic simulation of Voyager, programmed to act as one of Barclay's good friends in 2376. (VOY: "Pathfinder")
- In the 31st century simulation of Voyager at the Kyrian Museum of Heritage, Ayala was present on the bridge. (VOY: "Living Witness")
- prior to 2371
- Fathers two sons, joins the Maquis under Chakotay's command.
- Presumed killed when the Val Jean is lost in the Badlands; actually joins the crew of the USS Voyager in the Delta Quadrant with the provisional Starfleet rank of lieutenant junior grade.
- Word of Voyager's survival reaches the Alpha Quadrant.
- Helps Chakotay commandeer Voyager as part of Teero Anaydis' mind control plot.
- Memory is erased and identity reassigned by rogue Quarren, later rescued.
- Transfers to command division.
- Returns to Earth with Voyager.
- "Caretaker" (Season One)
- "Time and Again"
- "The Cloud"
- "Eye of the Needle"
- "Prime Factors"
- "State of Flux"
- "Heroes and Demons"
- "Learning Curve"
- "The 37's" (Season Two)
- "Persistence of Vision"
- "Cold Fire"
- "Death Wish"
- "The Thaw"
- "Basics, Part I"
- "Basics, Part II" (Season Three)
- "The Chute"
- "The Swarm"
- "False Profits"
- "Sacred Ground"
- "Future's End"
- "Future's End, Part II"
- "Alter Ego"
- "Blood Fever"
- "Before and After"
- "Real Life"
- "Distant Origin"
- "Worst Case Scenario"
- "The Gift" (Season Four)
- "The Raven"
- "Scientific Method"
- "Year of Hell"
- "Year of Hell, Part II"
- "Random Thoughts"
- "Waking Moments"
- "The Omega Directive"
- "Living Witness"
- "Hope and Fear"
- "Night" (Season Five)
- "Extreme Risk"
- "In the Flesh"
- "Once Upon a Time"
- "Nothing Human"
- "Latent Image"
- "Bride of Chaotica!"
- "Dark Frontier"
- "The Fight"
- "Think Tank"
- "Someone to Watch Over Me"
- "Equinox, Part II" (Season Six)
- "Survival Instinct"
- "Tinker Tenor Doctor Spy"
- "Dragon's Teeth"
- "One Small Step"
- "The Voyager Conspiracy"
- "Fair Haven"
- "Blink of an Eye"
- "Spirit Folk"
- "Ashes to Ashes"
- "Child's Play"
- "Good Shepherd"
- "Live Fast and Prosper"
- "Unimatrix Zero"
- "Unimatrix Zero, Part II" (Season Seven)
- "Critical Care"
- "Body and Soul"
- "Flesh and Blood"
- "The Void"
- "Workforce, Part II"
- "Friendship One"
- "Natural Law"
- "Renaissance Man"
Ayala was played by Tarik Ergin, a regular extra for all seven years of Star Trek: Voyager. He was never specifically credited for playing Ayala, and was only credited as "Security Guard" in "Fury" and "Tactical N.D." in "Renaissance Man" – even though he worked at the conn in the latter episode. He only spoke in the episodes "Basics, Part II" ("Yeah" and "Come on!"), "The Gift" ("You'd better come down to the brig, ma'am."), "Fury" ("Stop where you are!"), and "Renaissance Man" ("No response.").
Ergin was directly addressed as Ayala in at least three episodes, "Faces", "Worst Case Scenario", and "Tuvix". In the first two instances, Ergin clearly responds to a command prefaced by the name "Ayala". In the latter, Tuvix calls out to Ayala by name, looking in the direction of mission ops, where only Ergin has been established to be at the time. Furthermore, in "The Gift", he has a short conversation with Janeway over the intercom system in which he self-identifies as Ayala. This instance is less clear, however, as Ergin is never actually seen during the conversation, only before and after it.
Ayala worked in main engineering in "Parallax" but was moved to the bridge by "The Cloud". He appeared in numerous episodes, usually standing at the master systems display or mission ops stations at the back of the bridge. He generally replaced Tuvok at tactical whenever he left the bridge, and also replaced Kim at the ops station during the first two seasons.
Ayala has the most episode appearances of an extra in any Star Trek series.