At the Congress of Vienna , Frederick William 's ministers succeeded in securing important territorial increases for Prussia . At the Congress of Vienna , Frederick William 's ministers succeeded in securing important territorial increases for Prussia , although they failed to obtain the annexation of all of Saxony , as they had wished .