Following Kaspar's death in 1815, his brother Ludwig sought to take legal action against his wife, Johanna, for sole custody of her son, Karl. Ludwig found Johanna to be an unfit and immoral mother. In addition, Kaspar had left his brother custody of Karl in Article V of his last will and testament dated 14 November 1815: "I make my brother Ludwig van Beethoven the guardian of my son Karl ..." The original last will, drawn up two days before Kaspar died, read: "Along with my wife I appoint my brother Ludwig Van Beethoven co–guardian." Ludwig objected to the phrases, "Along with my wife" and "co–" and forced them to be deleted. Later, he would recall: "This I had my brother bring about since I did not wish to be bound up in this with such a bad woman in a matter of such importance as the education of the child." When Karl disobeyed these orders, he was forcibly returned to his uncle by the police. Ludwig told his staff that Karl would benefit from little to no contact with his mother. During his teenage years, under his uncle's ward, Karl was enrolled in various schools. He was forced to take piano lessons from pianist and composer
Carl Czerny. Ludwig was angered when Czerny told him that Karl had little musical ability or talent. Many of Ludwig's closest friends implored him to end the fight for his nephew, but he seemed obsessed with becoming the boy's father. Despite this obsession, it has been noted that Karl was considered to be lazy and dishonest. On the other hand, his disobedience and character development seems to coincide with certain events and direct influences within his life. For instance, Ludwig's constant barrage of insults toward Johanna as a "bad" and even "poisonous" presence in his life, seemed to have created the same "bad" identification in Karl. As well, his school reports declined dramatically as the Appellate Court hearing drew near. On account of this behavior, Ludwig enrolled Karl in the Vienna boarding house
Giannatasio del Rio from 1817 to 1818, and the
Pensionat Blöchlinger in 1819. When Karl's mother attempted to visit him at his school, the director informed his uncle asking that she not interfere with his studies. Ludwig sought an injunction so that Johanna could not see Karl without his consent. Johanna became so incensed by this that she brought a series of court suits against Ludwig. The obsession, Ludwig claimed, was more in keeping with a promise to his brother's last will: ". . . since my greatly beloved brother has helped me so often with truly brotherly love in the most magnanimous and generous fashion that he will in the future transfer the love so often shown me as well as the friendship to my son Karl and that I expect with full confidence and in full reliance on his noble heart; I trust that he will do everything in his power for the mental education of my son and for his further career and I know that my brother will not refuse this my request.” Johanna brought suit against Ludwig three times in September and October 1818; each time, her petitions were rejected. Coincidentally, it was reported in December 1818, that Karl had been abusive to one of his uncle's servants and had stolen money. Despite the teenager's unruly behavior, his uncle retained a faithful and affectionate care for him. In a letter dated 17 May 1825, he prefaced the letter to Karl with: "My son ..." and signed it with: "Your good and faithful father." This did not deter Karl's objection to the custody battle and its rules. During one of Karl's attempted escapes from his uncle, Johanna took Ludwig back to court in an attempt to show his lack of regard for her son's wellbeing. The
Landrechete summoned Johanna, Ludwig, and Karl to a hearing on 11 December 1818. When asked who he wished to live with, Karl revealed that his uncle treated him well and if an interpreter could be provided, he would choose to reside with his uncle. Due to an error on Ludwig's part, the case was moved to the Vienna
Magistrat and a hearing was held on 11 January 1819. During this time, Karl stayed with his mother. While the
Magistrat considered its ruling, Ludwig considered smuggling Karl out of the country; and even solicited the aid of
Archduke Rudolf of Austria. In addition, he approached the magisterial councillor, Matthias von Tuscher to accept co-guardianship of Karl. The court recognized the co–guardianship; however, when von Tuscher recommended that Karl be sent away, Ludwig broke off the friendship and regained sole guardianship. On account of this, the
Magistrat ruled against Ludwig, stating that Karl had been "subject to the whims of [his uncle] and have been tossed back and forth like a ball from one educational institution to another." It decreed on 17 September 1819 that Johanna be awarded custody of Karl with a co–guardian. Ludwig retaliated by retaining one of Vienna's leading legal attorneys and appealed the decision. In an attempt to overturn the ruling, he approached a judge and two other members of the Appellate Court for "private talks". In a letter, Ludwig wrote, "Such a contingency would certainly provoke the disapproval of our civilized world." On 8 April 1820, the court found in his favor, and once again Karl was awarded to his uncle under the provision of a joint guardianship with his friend, Karl Peters. Despite Johanna's plea to the Emperor himself, the decree remained, and Karl was sent back to the Blöchlinger Institute, where he immediately ran away and had to be returned against his will. When the court battles were finally ended in 1820, Johanna lost all custody of her son. Johann van Beethoven, Karl's other uncle, wrote to him years later on 10 June 1825 and tried to offer him counsel on the situation: "If you, however, think of all the things your uncle has already done for you, you must realize that he has spent probably in excess of 10,000 florins on your behalf, and what trouble and sorrows have you caused him! When one is young one does not see such things, but you will understand it much better as you get older..." Karl's life with his famous uncle was greeted with complete misery, until he enrolled in the
University of Vienna to study languages in 1825 at the age of 19. Despite his seeming lack of direction in life, he showed an adept talent for business relations. On account of this, his uncle assigned him the duties of handling his financial transactions. While at the university, his uncle moved to the country, but kept a close eye on his every move: At times, Ludwig would employ his friends to spy on Karl. ==Suicide attempt==