A warning over purple pills has been issued after a 14-year-old boy was taken to hospital.

The teenager was admitted to the Victoria Hospital after falling ill at his home in Kirkcaldy, Fife, on Tuesday.

The following day, police raided a house in the town and seized a haul of purple pills, containing as yet unidentified substances.

Police investigating the link between the pills and the boy's illness warned people not to take them.

Fife Council also circulated a warning to parents through its schools.

A Police Scotland spokesman said: "Police in Fife are investigating after a quantity of tablets were discovered at an address in Kirkcaldy on Wednesday.

"A 14-year-old boy had taken ill on Tuesday, March 21. He was taken to the Victoria Hospital and discharged after treatment.

"The tablets, which were purchased online, are small, round and purple-coloured pills and are yet to be identified.

"Anyone who thinks they have taken one of these is advised to seek immediate medical attention.

"Inquiries are on-going to establish if the discovery of these pills and the boy's illness are linked.

"If you have further information about these tablets, please contact Police Scotland on 101."

NHS Fife medical director Dr Frances Elliot said: "It's important to only take medication that has been prescribed for you.

"Any clinician prescribing medication does so knowing the patient's medical background, ensuring that both the prescribed drug and dosage is suitable for that particular patient.

"Taking prescribed medication which is not your own can have serious consequences.

"If you have concerns that prescribed medication has been taken by someone other than the patient it was prescribed to, seek immediate medical attention through NHS24 on 111 or call 999 in an emergency."

The incident came just weeks after parents were warned prescription drugs were circulating among children in Fife following the death of 14-year-old Liam McAlpine.

He died at his home on Elgin Drive in Glenrothes on Sunday, March 5.