Police in Brazil are taking tips from Scottish officers as the country gears up to host the 2014 World Cup and the 2016 Olympics.
Seven senior officers have flown to Scotland from Rio this week for advice on policing major sporting events.
The team visited the Scottish Police College in Tulliallan, Fife, to learn about training and discuss community policing with Fife Constabulary.
The officers from Brazil also made a trip to St Andrews University to hear about research on violence reduction in Scotland and meet with Strathclyde Police who are preparing for the Commonwealth Games in Glasgow next year.
The fact-finding mission, organised by the Scottish Institute for Policing Research, ends with a visit to Dundee University to discuss postgraduate police education.
Institute director Nick Fyfe said: "The officers are keen to learn about the approach to community policing in Scotland and about our preparations for the Commonwealth Games given that they will be holding the World Cup in 2014 and the Olympics in 2016.
"They are also very interested in the way Scotland has built a strong relationship between its universities and the police service around research and education.
"We are hoping that this visit will provide the foundation for a longer-term relationship between Scotland and Brazil."