Answer
The Hamiltons, a powerful noble family in Scotland, played a pivotal role in aiding Margaret in her triumph over her brother, Alexander Stewart, Duke of Albany and Earl of Mar. Their support proved instrumental in her efforts to consolidate her power and remove Albany from his position of influence over the Scottish throne.