I believe in Medieval 2 it was whoever launched the attack. I'd set siege with a minimum of forces and let my allies take the city. My general would march in triumphant just as the city was about to fall.