Peter personally studied soldiers and sailors from the bottom up, serving in the rank and file before promoting himself into the officer corps. Thus, Peter did not become a full general until after his victory at Poltava in 1709, and did not become full admiral until the conclusion of the Great Northern War more than a decade later. As early as 1694, he established a dockyard in Archangel and built an entire ship by himself. Russia suffered from an acute lack of expertise, a problem Peter mitigated by going to the foreign quarters in Moscow; there, in a relaxed environment far removed from the throne, he learned the particulars of such things as shipbuilding, navigation, military formation, and the erection of fortifications. Peter wanted to be everywhere at once, and see everything for himself. Not taking his role as tsar very seriously, he and his noble friends often staged elaborate drinking rituals and other forms of horseplay, displays of personal excess that helped unite his circle of friends through talk and drink. However, at the same time, he could be cruel, not flinching from the application of force to put down rebellions and sometimes beating his own friends if he thought it necessary.