Ainsworth's relationship with the Ebers family grew, and he married Fanny on 11 October 1826 with little warning to his family or friends. Ebers promised to pay a dowry of 300 pounds, but the funds were never given and this caused a strain in the relationship between Ainsworth and his father-in-law. Ainsworth continued in Ebers's circle and attended many social events. He was encouraged by Ebers to sell his partnership in the Ainsworth law firm along with starting a publishing business. Ainsworth followed this advice, and the business had early success. In 1827, Fanny gave birth to a girl who took her name. Soon after, Ebers went bankrupt and Ainsworth lost a large sum as a consequence. Ainsworth published a few popular works, including "The French Cook", an annual magazine called "Mayfair", and some others. By 1829, Ebers took over Ainsworth's publishing business, and Fanny gave birth to another daughter, Emily, soon after. Ainsworth gave up on publishing and resumed working in law. When a third daughter, Anne, was born in 1830, Ainsworth's family began to feel financially strained. Ainsworth returned to writing and he contributed to "Fraser's Magazine", but it is uncertain how many works were actually his. However, he was working on his novel "Rookwood".