Organisers of this year's Sanquhar Riding of the Marches say the event was one of the busiest in recent years.
More than 150 riders took part in the tradition, which dates back more than 100 years.
Lori Carnochan reports:
Around 150 horses and riders turned out for this year's Sanquhar Riding of the Marches.
The age-old tradition sees the Cornet leading his cavalcade around the boundaries of the town, to check for any potential intruders.
This year's Cornet, his Lass and their Ensign began the day with the traditional ceremonies, taking place at the Toll Booth.
They were then formally sworn in as the 2015 Principals, before beginning their duties.
After checking the boundaries of the town, the Principals and the cavalcade return to the town centre to report their findings to the townspeople.
The day's events are finished with the crowning of the Queen and a colourful parade through the town.
Sanquhar is the last of Dumfries and Galloway's Riding of the Marches, and brings to a close another busy year for Cornet's clubs across the south of Scotland.
Thousands of people turned out in Lockerbie for the annual Riding of the Marches and Gala Day.
Around 130 horses and riders took part in the festivities, and below is a video montage of some of the highlights:
Thousands of people from Lockerbie have turned out for the annual Riding of the Marches and Gala.
The elected Cornet, his Lass and the Standard Bearer lead a cavalcade of around 130 horses and riders around the boundaries of the town.
Historically, the principals and their followers would check the boundaries for intruders, and chase them off if any were found.
This year marks the biggest turnout for many years, with the sunny weather making a difference.
The annual tradition is a highlight for the town, who turn out in their thousands to cheer on the horses and riders.
After the cavalcade return to the town centre, the Gala day begins, with a special parade for this year's Gala Queen.
The Riding of the Marches in a historic event which sees riders check the boundaries of the Royal Burgh to ensure no-one has intruded on their territory.
Hundreds of horses were ridden through the streets of Annan to thousands of cheering townsfolk lining the streets.
The Riding of the Marches is one of the biggest events in Annan's calendar. Fiona Marley Paterson joined the party.
One of the largest and oldest historic traditional ceremonies in south west Scotland is taking place. Annan Riding of the Marches, a fortnight of events, culminates on the first Saturday of July. The Annan Cornet and his Lass lead a cavalcade of riders out of the town round the burgh boundaries.
The traditional words "Safe Oot, Safe In" are shouted out as they forge the latest link in a chain of tradition dating back almost 700 years. Checking the boundaries was the responsibility of their forefathers to ensure that its landmarks had not been removed or tampered with by the English.
Their aim was to ensure that the burgh boundaries were maintained in good order. The cavalcade will circle around a channel in the Solway Firth before returning with the Burgh Standard to take part in traditional horse chases on the banks of the River Annan.