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