 Bolyai was born in the Hungarian town of Kolozsvár, Grand Principality of Transylvania (now Cluj-Napoca in Romania), the son of Zsuzsanna Benkő and the well-known mathematician Farkas Bolyai.By the age of 13, he had mastered calculus and other forms of analytical mechanics, receiving instruction from his father.He studied at the Imperial and Royal Military Academy (TherMilAk) in Vienna from 1818 to 1822.