 During the exile in 1890, Pedro moved along with their parents to the outskirts of Versailles.He reached the age of majority in 1893, and without desire to assume the monarchist cause, he left for Vienna, capital of the Austro-Hungarian Empire, to study in the military school at Wiener Neustadt.According to his own mother it was "clear that he must do something and a military career seems to us the only one he should follow".