The Dumfriesshire town of Ecclefechan has been shaken to the core in the past week following the killing of local man Kevin MacKay.
Police Scotland have arrested two men in connection with allegations of threats and intimidation of witnesses in the investigation.
The two were expected to appear at Dumfries Sheriff Court in connection with the allegations. Police say inquiries are continuing into the circumstances surrounding the death of 40-year-old Mr MacKay.
Two men, Andrew Brown, 22, from Ecclefechan, and 20-year-old Dean Melnyk, from Lockerbie, appeared in private at Dumfries Sheriff Court on Monday accused of the murder Mr MacKay and were remanded in custody.
Senior investigating officer Detective Chief Inspector Jim Kerr said: "Overall my officers have been met with nothing but courtesy and co-operation when carrying out their enquiries in the village.
"They are aware the community is still in a state of shock and sadness after the events of the past few weeks and as a consequence have been sensitive to this.
"However, a darker side has emerged over the past 24 hours and disappointingly we have had to arrest two men in connection with allegations of threats and intimidation of witnesses. Anyone found interfering with or making threats to anyone in the village will be dealt with in a robust manner."