The German liberal movement had failed; but the old stability of the Vienna system was not to be restored. The temptation to reorder Germany was too much for both the German powers, and 1849 began not a new period of co-operation, but a long conflict. In the early part of 1849 all the advantages seemed on the side of Prussia, but she could make nothing of her opportunity, and, within a little more than a year, the advantage passed to the side of Austria, only to be lost in its turn. The military power of both Austria and Prussia had been restored by the end of 1848, but not each was equally free. In Austria the air of military success which had accompanied the new Emperor and the new ministry proved premature. In the spring of 1849 the Austrian army in Italy was engaged in renewed war with Piedmont; and, a more serious setback, the attempted reconquest of Hungary ended in failure. Piedmont was decisively defeated, but peace was not made until July 1849; and Hungary was not conquered, with Russian help, until the end of August. Even then large armies of occupation were needed both in Hungary and in northern Italy; and the programme of reorganizing the entire Austrian Empire as a centralized unit absorbed as well all the administrative energies of the Schwarzenberg-Bach government.