Task: Translation
Input (Japanese): 数か月間、民主党と共和党は議会において、修正案を出すためにいくつかの妥協をせざるを得ない法案について議論した。
Output (English): For months, the Democrats and Republicans in Congress had argued over the bill, forcing several compromises to be made in the form of amendments.