To defend a town i would recommend Dismounted Knights veterans. They have high stats and can last long enough for reinforcements to arrive from any other part of the city.