What were the challenges for Prussia?