In 1782, Marshall won a seat in the Virginia House of Delegates, in which he served until 1789 and again from 1795 to 1796. The Virginia General Assembly elected him to serve on the Council of State later in the same year. In 1785, Marshall took up the additional office of Recorder of the Richmond City Hustings Court.  In 1788, Marshall was selected as a delegate to the Virginia convention responsible for ratifying or rejecting the United States Constitution, which had been proposed by the Philadelphia Convention a year earlier. Together with James Madison and Edmund Randolph, Marshall led the fight for ratification. He was especially active in defense of Article III, which provides for the Federal judiciary. His most prominent opponent at the ratification convention was Anti-Federalist leader Patrick Henry. Ultimately, the convention approved the Constitution by a vote of 89-79. Marshall identified with the new Federalist Party (which supported a strong national government and commercial interests), and opposed Jefferson's Republican Party (which advocated states' rights and idealized the yeoman farmer and the French Revolution).  Meanwhile, Marshall's private law practice continued to flourish. He successfully represented the heirs of Lord Fairfax in Hite v. Fairfax (1786), an important Virginia Supreme Court case involving a large tract of land in the Northern Neck of Virginia. In 1796, he appeared before the United States Supreme Court in another important case, Ware v. Hylton, a case involving the validity of a Virginia law providing for the confiscation of debts owed to British subjects. Marshall argued that the law was a legitimate exercise of the state's power; however, the Supreme Court ruled against him, holding that the Treaty of Paris in combination with the Supremacy Clause of the Constitution required the collection of such debts.  Henry Flanders in his biography of Marshall remarked that Marshall's argument in Ware v. Hylton "elicited great admiration at the time of its delivery, and enlarged the circle of his reputation." Flanders also wrote that the reader "cannot fail to be impressed with the vigor, rigorous analysis, and close reasoning that mark every sentence of it."  In 1795, Marshall declined Washington's offer of Attorney General of the United States and, in 1796, declined to serve as minister to France.  In 1797, Marshall accepted when President John Adams appointed him to a three-member commission to represent the United States to negotiate with France which, during the midst of its Revolutionary Wars, had seized neutral American merchant vessels. This had prompted the United States to appropriate funds to equip and man three frigates.  The other members of this commission were Charles Cotesworth Pinckney and Elbridge Gerry. However, when the envoys arrived in October 1797, they were kept waiting for several days, and then granted only a 15-minute meeting with French Foreign Minister Talleyrand. After this, the diplomats were met by three of Talleyrand's agents. Each refused to conduct diplomatic negotiations unless the United States paid enormous bribes, one to Talleyrand personally, and another to the Republic of France. The Americans refused to negotiate on such terms. Marshall and Pinckney returned home, while Gerry remained. This diplomatic scandal became known as the XYZ Affair, inflaming anti-French opinion in the United States. Marshall arrived in New York on June 17. His handling of the affair, as well as public resentment toward the French, made him popular with the American public. He opposed the Alien and Sedition Acts, enacted by the Federalists in response to the crisis.  In 1798, Marshall declined a Supreme Court appointment, recommending Bushrod Washington, who would later become one of Marshall's staunchest allies on the Court. In 1799, Marshall reluctantly ran for a seat in the United States House of Representatives. Although his congressional district (which included the city of Richmond) favored the Democratic-Republican Party, Marshall won the race, in part due to his conduct during the XYZ Affair and in part due to the support of Patrick Henry. His most notable speech was related to the case of Thomas Nash (alias Jonathan Robbins), whom the government had extradited to Great Britain on charges of murder. Marshall defended the government's actions, arguing that nothing in the Constitution prevents the United States from extraditing one of its citizens.  On May 7, 1800, President Adams nominated Congressman Marshall as Secretary of War. However, on May 12, Adams withdrew the nomination, instead naming him Secretary of State, as a replacement for Timothy Pickering. Confirmed by the United States Senate on May 13, Marshall took office on June 6, 1800. As Secretary of State, Marshall directed the negotiation of the Convention of 1800, which ended the Quasi-War with France and brought peace to the nation.  Elected as a delegate to the Virginia Constitutional Convention of 1829-1830, John Marshall advanced his view that the electorate should be expanded in Virginia by the provision that any white male who had served in the War of 1812 or who would serve in the militia in the future defense of the country deserved the right to vote.  Fletcher v. Peck (1810) was the first case in which the Supreme Court ruled a state law unconstitutional, though the Court had long before voided a state law as conflicting with the combination of the Constitution together with a treaty (Marshall had represented the losing side in that 1796 case). In Fletcher, the Georgia legislature had approved a land grant, known as the Yazoo Land Act of 1795. It was then revealed that the land grant had been approved in return for bribes, and therefore voters rejected most of the incumbents; the next legislature repealed the law and voided all subsequent transactions (even honest ones) that resulted from the Yazoo land scandal. The Marshall Court held that the state legislature's repeal of the law was void because the sale was a binding contract, which according to Article I, Section 10, Clause I (the Contract Clause) of the Constitution, cannot be invalidated. Marshall emphasized that the rescinding act would seize property from individuals who had honestly acquired it, and transfer that property to the public without any compensation. He then expanded upon his own famous statement in Marbury about the province of the judiciary:  It is the peculiar province of the legislature to prescribe general rules for the government of society; the application of those rules to individuals in society would seem to be the duty of other departments.  Based on this separation of powers principle, Marshall questioned whether the rescinding act would be valid even if Georgia were a completely sovereign state independent of the federal Constitution. Ultimately, though, Marshall grounded the Court's opinion in the restrictions imposed by the federal Constitution. As in Marbury, this decision of the Court in Fletcher was unanimous.

Answer this question "What was Marshall's involvement in this case?" by extracting the answer from the text above.
Marshall grounded the Court's opinion in the restrictions imposed by the federal Constitution.