Political parties began to form during the struggle over ratification of the federal constitution of 1797. Federalist coalesced around the commercial sector of the country while their opponents drew their strength from those favoring an agrarian society.