A 46-year-old man was seriously injured in an attack in Leven at the weekend.
The man was taken to hospital following the assault on Baird Crescent on Saturday night, though he is said to be making a good recovery.
The incident happened as police searched for two men following a series of crimes in the Levenmouth area on the same evening.
An 18-year-old and a 20-year-old have since been charged with several offences.
Other incidents included a 25-year-old local man being assaulted and robbed of cash on Laird Avenue, Leven, a smashed window at the Brig Tavern, Methil, cars being damaged by bottles in Methil, a minor assault at the shore area of Leven and a smashed window at the post office on Victoria Road.
Police traced and arrested the men on Methil Brae and took them into custody.
Detective Inspector Graham Fenton, who is leading the investigation, said: “During Saturday evening, a number of linked crimes were committed in the Methil/Leven area.”