The Virginia convention, of which Madison was a member, assembled in June. He had completely overcome his natural diffidence and, although deficient as an orator, exerted a powerful influence over his associates, contributing as much to the final triumph of the constitution as any one in the body. The instrument was adopted by a vote of eighty-nine to seventy-nine and the convention closed. The part which he had taken in its deliberations very greatly increased Madison's reputation; and he was brought forward as a candidate for United States Senator but was defeated. He was, however, chosen a member of congress and took his seat in that body in 1789.

Alexander Hamilton was at the head of the treasury department and Madison was obliged either to support the great series of financial measures initiated by the secretary, or distinctly abandon his former associate and range himself on the side of the republican opposition. He adopted the latter course. Although he had warmly espoused the adoption of the constitution, he was now convinced of the necessity of a strict construction of the powers which it conferred upon the general government. He accordingly opposed the funding bill, the national bank, and Hamilton's system of finance generally.

His affection for Washington, and long friendship for Hamilton, rendered such a step peculiarly disagreeable to a man of Madison's amiable and kindly disposition, but the tone of his opposition did not alienate his friends. Occupying, as he did, the middle ground between the violent partisans on both sides he labored to reconcile the antagonism of the two parties, and always retained the same cordial regard for Washington.

On Jefferson's return from France, Madison was solicited to accept the mission and it was kept open for twelve months awaiting his decision. He declined the place, as he afterwards did the position of Secretary of State on the retirement of Jefferson, from a firm conviction that the radical antagonism of views between himself and a majority of the members of the cabinet would render his acceptance of either office fruitful in misunderstandings and collisions.

He remained in congress, becoming thoroughly identified with the Republicans, and soon became the avowed leader in congress. In 1794 he gave his full support to its foreign policy by moving a series of resolutions, based upon the report of Jefferson, advocating a retaliatory policy toward Great Britain, and commercial discriminations in favor of France. These resolutions he supported in a speech of great ability. In March, 1797, his term expired, and he returned to Virginia.

The insulting treatment of the American envoys to France and the war message of President Adams were about to be followed by the passage of the alien and sedition laws. The Republicans vainly tried to stem the popular current in favor of the measures of the administration. The passing of the alien and sedition laws in July, 1798, gave them the first opportunity to make a stand. Opposition to even these violent measures was however ineffectual in the Federal legislature; and the Republican leaders determined to resort to the State arenas for the decisive struggle.

It commenced in Kentucky, and resulted there in the adoption of a series of resolutions, which were followed, in December, 1798, by similar resolves of the Virginia Assembly. The latter, now known as "the resolutions of 1798-'9," were drawn up by James Madison, not then a member. They declared the determination of the Assembly to defend the Constitution of the United States, but to resist all attempts to enlarge the authority of the federal compact by forced constructions of general clauses, as tending to consolidation, the destruction of the liberties of the States, and finally to a monarchy.

In case of a "deliberate, palpable, and dangerous" exercise of powers not clearly granted to the General Government, the States had a right to interpose; and as the passing of the alien and sedition laws was such an infraction of right, the assembly protested against those laws. The seventh resolution called upon the other States to join with the State of Virginia 'in declaring, as it does hereby declare, that the acts aforesaid are unconstitutional, and that the necessary and proper measures will be taken by each for co-operating with this State in maintaining unimpaired the authorities, rights and liberties reserved to the States respectively, or to the people.'

The resolutions passed the House by a vote of 100 to 63, and were duly communicated to the several States of the Union. They met with little favor, especially in the Northern States. Massachusetts and New England generally remonstrated against them, and declared the obnoxious laws both constitutional and expedient. This drew forth, in the winter of 1799-1800, Madison's "Report" in defence of his resolutions. This elaborate paper subjected the resolves to an exhaustive analysis and defended them with masterly vigor. It is the most famous of his political writings and will rank with the greatest state papers written in America.

Although the resolutions met with an unfavorable reception throughout the States, they exerted a powerful influence on public opinion. Virginia had shown how deeply in earnest she was by directing the establishment of two arsenals, and an armory sufficiently large to store 10,000 muskets and other arms; but a wholesome change in the sentiment of the country happily restored good feeling and softened down all bitterness.