Background: Adolf Hitler (German: ['adolf 'hItla] ( listen); 20 April 1889 - 30 April 1945) was a German politician who was the leader of the Nazi Party (Nationalsozialistische Deutsche Arbeiterpartei; NSDAP), Chancellor of Germany from 1933 to 1945 and Fuhrer ("Leader") of Nazi Germany from 1934 to 1945. As dictator, Hitler initiated World War II in Europe with the invasion of Poland in September 1939, and was central to the Holocaust. Hitler was born in Austria--then part of Austria-Hungary--and was raised near Linz. He moved to Germany in 1913 and was decorated during his service in the German Army in World War I.
Context: Adolf Hitler was born on 20 April 1889 in Braunau am Inn, a town in Austria-Hungary (in present-day Austria), close to the border with the German Empire. He was christened as "Adolphus Hitler". He was the fourth of six children born to Alois Hitler and his third wife, Klara Polzl. Three of Hitler's siblings--Gustav, Ida, and Otto--died in infancy. Also living in the household were Alois's children from his second marriage: Alois Jr. (born 1882) and Angela (born 1883). When Hitler was three, the family moved to Passau, Germany. There he acquired the distinctive lower Bavarian dialect, rather than Austrian German, which marked his speech throughout his life. The family returned to Austria and settled in Leonding in 1894, and in June 1895 Alois retired to Hafeld, near Lambach, where he farmed and kept bees. Hitler attended Volksschule (a state-owned school) in nearby Fischlham.  The move to Hafeld coincided with the onset of intense father-son conflicts caused by Hitler's refusal to conform to the strict discipline of his school. Alois Hitler's farming efforts at Hafeld ended in failure, and in 1897 the family moved to Lambach. The eight-year-old Hitler took singing lessons, sang in the church choir, and even considered becoming a priest. In 1898 the family returned permanently to Leonding. Hitler was deeply affected by the death of his younger brother Edmund, who died in 1900 from measles. Hitler changed from a confident, outgoing, conscientious student to a morose, detached boy who constantly fought with his father and teachers.  Alois had made a successful career in the customs bureau, and wanted his son to follow in his footsteps. Hitler later dramatised an episode from this period when his father took him to visit a customs office, depicting it as an event that gave rise to an unforgiving antagonism between father and son, who were both strong-willed. Ignoring his son's desire to attend a classical high school and become an artist, Alois sent Hitler to the Realschule in Linz in September 1900. Hitler rebelled against this decision, and in Mein Kampf states that he intentionally did poorly in school, hoping that once his father saw "what little progress I was making at the technical school he would let me devote myself to my dream".  Like many Austrian Germans, Hitler began to develop German nationalist ideas from a young age. He expressed loyalty only to Germany, despising the declining Habsburg Monarchy and its rule over an ethnically variegated empire. Hitler and his friends used the greeting "Heil", and sang the "Deutschlandlied" instead of the Austrian Imperial anthem.  After Alois's sudden death on 3 January 1903, Hitler's performance at school deteriorated and his mother allowed him to leave. He enrolled at the Realschule in Steyr in September 1904, where his behaviour and performance improved. In 1905, after passing a repeat of the final exam, Hitler left the school without any ambitions for further education or clear plans for a career.
Question: Where did he live during his childhood?

Answer:
The family returned to Austria and settled in Leonding in 1894, and in June 1895 Alois retired to Hafeld, near Lambach, where he farmed and kept bees.