Frederick William built the Hohenzollern army up to a peacetime size of 7,000 and a wartime size of 15,000–30,000. Its success in battle against Sweden and Poland increased Brandenburg-Prussia's prestige, while also allowing the Great Elector to pursue absolutist policies against estates and towns. In his political testament of 1667, the elector wrote, "Alliances, to be sure, are good, but forces of one's own still better. Upon them one can rely with more security, and a lord is of no consideration if he does not have means and troops of his own".