Parliament met at Stirling not long after Flodden, and confirmed Margaret in the office of regent. A woman was rarely welcome in a position of supreme power, and Margaret was the sister of an enemy king, which served to compound her problems. Before long a pro-French party took shape among the nobility, urging that she should be replaced by John Stewart, 2nd Duke of Albany, the closest male relative to the infant prince, and now third in line to the throne.