 Ferdinand was born in Graz, the eldest son of Emperor Ferdinand II of Habsburg and his first wife, Maria Anna of Bavaria, and was baptised as "Ferdinand Ernst".He grew up in Carinthia with loving care from his parents and he developed great affection for his siblings and his father, with whom he always found a consensus in future disagreements.At his father's court he received religious and scholarly training from Jesuits.