The town became the  principal burgh  of the kingdom during the reign of James III (1460?͠1488), and in the following years it blossomed.
After becoming the principal burgh, the town thrived.
The town was never a principal burgh and became abandoned after James III came to reign.