Recently in a Turkish campaign I had an almost full Egyptian stack under a general siege Acre right after I'd finished converting it into a town. I had two full companies of town militia, a company of peasant archers, and a partial company of Turkomans with some experience.

Right off the bat they have peasants pushing the ram, so I immediately decide to send my Turkomans out to kill them and put my town militia on the walls to hold against the siege tower/ladder combo. Click, click, click, and I'm moving on to repositioning the archers so they get some enfilading fire on the gate area, when I notice something strange...

My first company of town militia are marching slowly out of the gates and my Turkomans are standing stock still by the walls. DOH!

The Egyptian general is leading from the front, and before I can withdraw the militia (I should've ordered them on out the gate) he has engaged them with the company half in and half out the gate. I order them to form up in front of the gate, send the 2nd company of town militia running for the square, and send the Turkomans racing to exit the east gate and get behind the enemy.

The town militia can't even get fully formed up in the gate before the pressure mounts too high and they start to flee. Fortunately towers and archer fire have inflicted some losses, and the immense mass of troops in the gate are stuck trying to capture a few of the routers who are, in turn, stuck around the edges of the gate. I switch my archers to fire arrows to try to do some morale damage as the Turkomans come in behind the mess.

The AI general eventually cuts his way through and charges the town square, but he's alone. Everyone else is still stuck in the gate massed around their ram and the routers. (Yes, it's a bug, but it was a pretty funny one with 1500+ troops stuck there trying to capture 4-5 militiamen). Most of the fleeing company of militia are ridden down or stuck, but a funny thing happens as he's racing away. A volley of fire arrows lance into the general's body guard and he dies.

His men continue the charge and the first company of town militia, who made it back to the square whole, start getting butchered by them but hold because of the morale bonus. Meanwhile back at the gate the peasant heavy Egyptians are suffering some heavy attrition and morale problems. I charge the Turkomans into a bunch of peasants and withdraw them immediately, then charge again. The peasants break and rout.

Slowly, slowly I work my way through the Egyptian companies, fire arrows, charge, rout. In the end a few tougher units are left, but there's no formation and their men are all strung out and tired now, so I'm able to 'sweep' the Turkomans through them and cause a general rout.

Now the funny part, though. The Town militia back at the square are almost dead and the general's bodyguard still has about 25 men. I bring the archers down off the walls and send the few remaining Turkomans to stand behind the gate and keep the towers firing at any Egyptians who recover their courage. They only do so in singles, and they all flee before getting back in the gate.

The archers advance and start firing off arrows (I stuck with fire arrows, didn't have many volleys left and was hoping for morale problems). The last few town militia get ground under, and the enemy captures the square. What can I do? I charge the peasant archers at the remaining Egyptian bodyguards. They are standing at the edge of the square and they meet my tired peasants before they can get the morale boost and the archers rout. A lot of them are captured, but some make it to the square and try to fight.

The time is now, if it's going to happen, so I pull the ~15 remaining Turkomen away from the gate and go in after the general's bodyguard. Even fighting on two fronts those men won't break, but the weary Turkomens do and eventually the enemy kills every one of my men at the square and the timer counts down to an Egyptian victory.

So close! But foiled by the mighty bodyguards. Needless to say the very next turn I sieged Acre with a stack and recaptured it quickly, but it was a pretty strange battle. The AI's infantry around the gate kept getting through in little trickles and scattering out on the street, but they never made it to the square or reformed and I think it really hurt their morale to be in that position.