Jane Austen wrote Pride and Prejudice between October 1796 and August 1797. Deirdre Le Faye mentions the fact that the Derbyshire Militia came to Hertfordshire in the winter of 1794-5 and that the troops were stationed in Hertford and Ware. We do not know whether Jane visited Hertford but her father had a cousin who lived there and he may have supplied her with information for her novel.Perhaps the Derbyshire connection inspired Pemberley to be set in that county.'Such a pretty scene met Lydia’s eyes on their arrival in town that she didn’t know which way to look; at the ravishing bonnets in straw and silk in the milliner’s bow-fronted windows or at the figured muslins, crêpes and linens, ruched and draped across the width and length of the tall windows of the mercer’s warehouse. Vying for her attention was a highway teeming with those captivating visions in scarlet, officers everywhere, strutting the pavements and swaggering in step. A whole regiment of soldiers had arrived in Meryton several months ago, along with the changeable autumn winds, blowing every maiden’s saucy kisses like copper leaves down upon their handsome heads. Lydia and Kitty had been far from disappointed when line upon line of handsome soldiers and debonair officers had come parading along the High Street, a blaze of scarlet and gleaming gold buttons, laden with muskets and swords, clanking in rhythm as they marched. It had not been very long before both girls had made firm friends with all the officers, helped along by the introductions from their Aunt and Uncle Phillips who lived in the town.' Excerpt from Lydia Bennet's Story.
Jane Odiwe
Reference - Jane Austen, The World of her Novels by Deirdre Le Faye