Robert Alexander and his brother, William, attempted to take over the burgh magistracy of Pittenweem in the mid-1760s. They were successful and assumed power in 1765. Former magistrates of the burgh of Pittenweem filed suit against the Alexanders, alleging that the Alexanders and their agents engaged in undue influence and corruption during the election process. It is alleged that some of these corrupt transactions were between the Alexanders and bailie Thomas Martin, defender. During the lawsuit, the Alexanders apparently used burgh funds to cover the costs of the litigation. The magistracy of Pittenweem also took out a loan from Robert Alexander. The former magistrates won the lawsuit and returned to power. They now challenge the burgh debt to Robert Alexander, arguing that it was not validly procured.