Each time you conquer a city, you gain experience equal to half of its city walls in addition to the troops killed and lost.

When a lord conquers a city, the city walls bonus goes on cooldown for 4 hours and if you try to conquer it before the end of the cooldown you, won't have the experience bonus.