Yes, in Medieval Total War I defended a castle and won a close battle. My general's unit was a major key in the victory. However, in the replay, my general was killed early on (in the actual battle he survived) and I lost a close battle. I thought it was actually pretty cool.