Police have appealed for help in tracing three men after a woman was attacked in the early hours of Sunday morning in Sanquhar.
The men were sitting on a bench near the town's library at about 0115 BST when the woman walked past them.
Shortly afterwards she was approached by one of the men on a nearby path and assaulted.
Police said the victim fled to a nearby house and was shocked but not badly injured in the attack.
Anyone who saw the three men or who was in the area at the time has been asked to contact Dumfries and Galloway Constabulary.