A 17-year-old girl was attacked in a car park after leaving a Young Farmers' disco at the Ingliston showground, near Edinburgh, on Saturday morning. The teenager was assaulted by a man as she made her way back to a caravan in the North car park at about 0245 BST.
Before the incident, she spoke to a group of men and women in a car, who were playing loud music. Detectives said they wanted to speak to the group.
The attacker is described as 20 to 25 years old, with a shaved head.
The Royal Highland Show is being held at Ingliston.