Definition: In this task, you are given a question. You have to answer the question based on your information.
Input: Who were the two parties fighting in the war where Kajiwara Heima served as karo?
Output:
Tokugawa shogunate and those seeking to return political power to the Imperial Court