Obtain an alliance with one faction, then do the same with the other. Should be easy with force diplomacy. The two factions will stop warring at the point. Though if they really hate each other, they'll probably still keep warring after a few turns, especially if they have stacks in each others' territories.
Bookmarks