A 38-year-old man has been charged after police closed several busy roads and a roundabout close to a Fife village.
Officers shut the Durie Vale roundabout on Milton Road near Windygates on Wednesday afternoon.
The force asked members of the public to avoid the area just after 4pm.
A large presence of emergency services could be seen in the area including firefighters and paramedics.
The incident continued into Wednesday night.
Officers have now confirmed they have made an arrest.
A Police Scotland spokesperson said: “We were made aware of a man causing a disturbance at a property on Douglas Terrace in Windygates around 4.15pm on Wednesday.
“Officers attended and a 38-year-old man was arrested and charged in connection.
“No one was injured and inquiries are ongoing to establish the full circumstances.
“The incident was contained and officers are grateful for the patience of the local community.”