Paul Johann Anselm Ritter von Feuerbach, president of the Bavarian court of appeals, began to investigate the case. Hauser was formally adopted by the town of Nuremberg and money was donated for his upkeep and education. He was given into the care of Friedrich Daumer, a schoolmaster and speculative philosopher, who taught him various subjects and who thereby discovered his talent for drawing. He appeared to flourish in this environment. Daumer also subjected him to homeopathy and magnetic experiments. As Feuerbach told the story, "When Professor Daumer held the north pole a magnet towards him, Kaspar put his hand to the pit of his stomach, and, drawing his waistcoat in an outward direction, said that it drew him thus; and that a current of air seemed to proceed from him. The south pole affected him less powerfully; and he said that it blew upon him."