 He was the second son of Prince Adalbert of Bavaria and his wife Infanta Amalia of Spain.In 1880, as so many young men of his age, Alfons joined the army, soon after becoming a young courtier protege to Ludwig II of Bavaria, and in 1892 became commander of the Bavarian "Schweren-Reiter-Regiment.