	Irvine was granted its first Burgh Charter around 1249. This entitled the town to organise its own affairs under a Town Council. In circa 1372 a dispute arose between Irvine and Ayr as to which of the two burghs had rights to control trade in the Barony of Cunninghame and Barony of Largs. The Burgesses of Irvine were able to produce Royal Charters showing that the town had the right to control trade in the Baronies of Cunninghame and Largs. The dispute was resolved by Robert II's Royal Charter of 8 April 1372 conferring Royal Burgh status.