The First Silesian War (1740–1742), part of the War of the Austrian Succession (1740–1748), resulted in Frederick conquering the Polish part of Silesia. Austria attempted to recover Silesia in the Second Silesian War (1744–1745), but Frederick was victorious again and forced Austria to stick to the previous peace terms. Prussian possession of Silesia gave the kingdom control over the Oder River.