How did kings try to do this?
They tried to take power away from their vassals:
1. Start a capital city and make vassals visit you
2. Use one book of law in the entire country
3. Allow one religion in the entire country
4. Use mercenary armies instead of vassals armies
5. Use civil servants instead of vassals
Tax money from new cities helped pay for this