Never sack, never execute prisoners, never start war, never betray allies, and try to keep good relations (alliance preferably) with as many factions as possible. Also having a chivalry king seems to help.