What did Frederick William form Prussia into?

Frederick William turned Prussia into a militaristic state. =)