Wales has had its fair share of eccentrics over the years but none was more bizarre or more flamboyant than the mercurial and fascinating Dr William Price of Llantrisant.

This Chartist and republican, a man who ate no meat, drank mainly champagne, eschewed the wearing of socks and prescribed a vegetarian diet for his patients instead of medicine, has a much more significant claim to fame, however. For this was the man who, effectively, opened the way for legalised cremation in Britain.

Born on 4 March 1800 at Rudry near Caerphilly, Price was the fifth child of the Rev William Price. His father wanted William to enter the church but the young man had different ambitions. He wanted to become a doctor and was, accordingly, apprenticed to a local surgeon, Dr Evan Edwards. He was just 13 years of age and after a number of years, following the death of his father, managed to enroll himself at St Barts in London.

Price was clearly a man of huge intellect. He passed his examinations in just 12 months and became a member of the Royal College of Surgeons before the age of 22. After further study in anatomy and physiology he returned to Wales to live and work in 1821. In 1827 he moved to Nantgarw, just up the valley from Cardiff and became surgeon to the ironmaster Francis Crawshay.

A strain of eccentricity, even of insanity, ran in his family and this quickly began to show itself in his behaviour. He dressed in a white tunic with green trousers and red waistcoat and developed a liking for outlandish costume, notably a fox-skin headdress with the legs and tails hanging down over his shoulders and back. His hair was worn long in plaits and, in these early years, he had the rather disconcerting habit of racing, stark naked, over the hills around Pontypridd.

William Price had little time for many of the standard medical treatments of the day, things like bleeding and purging, believing that a vegetarian diet was far more important than anything else. He was dogmatic in his medical practice, refusing to treat patients who would not give up smoking.

An advocate of what was, in effect, an early example of the health service - he believed that patients should pay him when they were well and he would then treat them when they fell ill - Price was elected as the private medical practitioner to a group of workers at the local chainworks. They paid him with a weekly deduction from their wages.

Dr William Price was no ordinary man. He had little time for marriage, feeling that it was an institution that did little more than enslave women. He did believe, however, in free love. As if to prove his point he fathered several illegitimate children and fell out with church authorities over this issue on many occasions.

He became fascinated by the old druidic rites and even held druidic ceremonies at the rocking stone outside Pontypridd. He even began to build a druidic temple in the area, thus infuriating the local Methodists who went as far as to accuse him of trespass.

William Price was a supporter of Chartism, some accounts saying that he attended Chartist meetings in a cart pulled by a pair of goats. Having moved to Llantrisant, he was made leader of the Pontypridd and District group and, following the disaster of the Chartist march on Newport in 1839 was forced to flee to France. Legend declares that he left dressed as a woman and that a police officer even assisted him up the gangplank of his ship - unlikely but hugely entertaining.

Price lived in Paris for several years before returning to the Pontypridd area in 1846. He again fled to the continent in 1860 when a warrant for his arrest - he had refused to pay a fine - was issued. This time his exile was for a further five years.

Returning to Wales and to Ty'r Clettwr at Llantrisant, Price promptly installed his 16-year-old housekeeper, one Gwenllian Llewellyn, as his mistress. Despite his advanced age (he was then 83-years-old) he fathered a son by Gwenllian, naming him Iesu Grist, Welsh for Jesus Christ.

When Iesu died in 1884, aged just five months, Price cremated his body on an open pyre in a field at Llantrisant. Whether the good doctor was opposed to the traditional act of Christian burial or whether he was more interested in the druidic rituals of the past, is not known. However, what is clear is that, dressed in his flowing druids robes, he timed the cremation to coincide with the conclusion of chapel services in the town.

As might be expected, the local people were wild with indignation at what they saw as pure sacrilege. They attacked Price and were only prevented from assaulting Gwenllian by the pack of large dogs that Price kept at his home.

William Price was arrested and charged. However, in a sensational trial, held in Cardiff, Justice Stephens acquitted Price, a judgement and a decision that led almost directly to the passing of the Cremation Act, thus making the burning of bodies legal in Britain.

After fathering several more children, Dr William Price died on 23 January 1893. His body was cremated in front of many thousands of spectators - some estimates being as high as 20,000 - who flocked to Llantrisant to witness the event. Several tons of coal and wood were piled up underneath the corpse in order to make it burn more effectively.

They say that all the pubs in Llantrisant ran dry on the day of that cremation. Price had organised everything, even selling tickets to the event - bizarre and outlandish, right to the end!