The Scottish SPCA were called by Mr McLachlan, who then alerted Moffat Mountain Rescue team.
SSPCA Inspector Janet Proudlocked watched as Sparky was brought to safety by the abseiling team.
A dog has been dramatically rescued from a Borders beauty spot, 16 days after going missing.
Sparky was saved by Moffat Mountain Rescue Team, who had to abseil down a gorge at Grey Mare's Tail.
The team were brought in after reports of a dog barking near the 200 feet waterfall.
Although the dog was hungry and had lost a lot of weight, he is now recovering at home.
Sparky's owner, Steve McLachlan from Selkirk, had not given up hope of finding his dog.
He had been out walking with his family when Sparky ran off after goats.