Prologue (1599): Auriol Darcy is surprised attempting to remove the heads of two traitors from the Southwark Gateway of Old London Bridge. He is injured by the warder, Baldred, and carried to the house of Dr Lamb, an alchemist and Auriol Darcy's grandfather, who is assisted by his faithful dwarf Flapdragon. Lamb, on the point of discovering the elixir of life, has a seizure and dies as his ungrateful grandson consumes the draught.
Book the first 'Ebba' (1830): Two varmints, Tinker and Sandman, waylay a gentleman in a fantastical ruined house in the Vauxhall Bridge Road in London, but they are surprised and he is carried unconscious to the house of Mr Thorneycroft, a scrap-iron dealer. While he convalesces and falls in love with Ebba, the iron-dealer's daughter, Tinker and Sandman and their associate Ginger (a 'dog-fancier' who steals dogs and resells them) discover in the gentleman's pocket-book the private diary of a man who has lived for over two hundred years, and has committed nameless crimes. Auriol (for it is he) seeks to dissuade Ebba from her love, for he bears an awful doom. A tall sinister stranger has Auriol in his power, and employs a dwarf (who is Flapdragon) to recover the pocket-book. The stranger confronts Auriol and informs his that Ebba must be surrendered to him according to their contract. Auriol refuses, but Ebba is snatched from him, and he is imprisoned, during a nocturnal assignation at a picturesque ruin near Millbank Street. Tinker, Sandman and Ginger offer their services to Mr Thorneycroft to attempt her rescue. Ebba is conveyed to a mysterious darkened chamber where the stranger demands that she sign a scroll surrendering herself body and soul to him. She calls to heaven for protection: in the darkness a tomb is revealed and opened by menacing cowled figures, and Auriol is brought forth. Ebba hurls herself into the tomb to precede him and save him, but then re-emerges silent and cowled to sign the scroll.
Intermean (1800): Cyprian Rougemont visits a deserted mansion at Stepney Green, where he finds the portrait of his ancestor (of the same name), a Rosicrucian brother of the 16th century, one of the Illuminati. Satan has appeared to him in a dream and promised him an ancestral treasure, the price for which is his own soul, or that of Auriol Darcy. Cyprian strikes the portrait and a plaque falls away, revealing the access to the ancestral tomb. There in a seven-sided vault lit by the ever-burning lamp and painted with kabbalistic symbols he finds the uncorrupt body with a book of mysteries, a vial of infernal potion, and a series of chests filled with gold, silver and jewels. With use of the potion, he lures Auriol into a compact whereby he is given a magnificent mansion in St James's Square and ÂŁ120,000, in exchange for a female victim whenever Rougemont requires one from him. Thus Auriol can win the woman he loves, Elizabeth Talbot; but Rougemont, once the contract is signed, demands Elizabeth Talbot as his first victim, in a week's time. Auriol seeks to defy him and to marry her within the week, but he is thwarted and Elizabeth is abducted on the seventh night.
Book the Second, 'Cyprian Rougemont' (1830): Thorneycroft, Sandman and Tinker (with Ginger) continue their pursuit led by another, who is the brother of Rougemont's second victim, Clara Paston. They enter a mysterious mansion, and becoming trapped in a chamber and locked into enchanted or mechanically-contrived chairs three of them are muffled by bell-masks which descend from the ceiling, and then plunged through traps in the floor. Flapdragon appears and attempts to help them find Ebba, while Paston, Ginger and Thorneycroft find Rougemont and confront him with pistols, but Rougemont is impervious to the bullets. Thorneycroft, Tinker and Sandman are trapped in a pit over which an iron roof closes by a giant mechanical contrivance, and Ebba is never found again. Auriol, meanwhile, awakes to find himself in Elizabethan costume, chained in a vaulted dungeon. The voice of Rougemont addresses him, telling him that he has been mad, but that he has given him a potion to heal him, and is his keeper. James I is now the King of England. Old Dr Lamb is still living, and his dwarf Flapdragon, and Auriol is taken to him, where they begin to hope that Auriol's cure has been effected. He becomes convinced that he has lived centuries in a few nights and has awakened from a delusion... but even in the last sentence, addressing Dr Lamb, the author relates what he says to his supposed grandsire.

Question: What was Auriol doing before he was taken to Dr. Lamb's house by Baldred?
Answer: trying to remove two heads from a Gateway