Margaret Thatcher considered banning sex toys using an anti-pornography law as part of a drive to clean up public decency in the 1980s.

Documents released by the National Archives reveal that the former prime minister was persuaded to consider a change in the law by the anti-obscenity campaigner Mary Whitehouse, whom she met on two occasions.

Leon Brittan, the home secretary at the time, wrote to Mrs Thatcher noting that there was a “strong case” to be made for banning sex toys under obscenity laws.

In September 1986 he wrote: “Some of the items in circulation are most objectionable, including some which can cause physical injury,” according to a report in The Times.

He felt that sex toys could fall within the scope of the "deprave and corrupt" test of the 1959 Obscene Publications Act.

Erotic images through the ages Show all 11 1 /11 Erotic images through the ages Erotic images through the ages Roman oil lamp (circa 1st Century AD) depicting a threesome Erotic images through the ages Greek erotic scene on the rim of an Attic red-figure kylix, c. 510 BC Marie-Lan Nguyen Erotic images through the ages Khajuraho Group of Monuments, India, 950 and 1050 AD Erotic images through the ages Sunga Empire sculpture (India), 1st century BCE Erotic images through the ages Katsushika Hokusai, The Adonis Plant (Fukujusō) Woodblock print, from a set of 12. Japan, 1815 Erotic images through the ages Missionary Position, an erotic illustration by the French painter Édouard-Henri Avril, 1906 Erotic images through the ages Boy looks through the viewer atop a peep show machine which plays the erotic International Mutoscope Reel Company production 'Hot Tango,' early 20th Century Getty Images Erotic images through the ages A man looks at the pornography section at a Soho sex shop in London, 1956 Getty Images Erotic images through the ages A porn shop with films and live shows near Times Square, New York, 1975 Getty Images Erotic images through the ages Jennifer Aniston spanked in Along Came Polly, 2004 Erotic images through the ages Rihanna in music video for S&M, 2010

The act was used to prosecute the publisher of Lady Chatterley’s Lover by DH Lawrence, in the famous trial that scandalised the public in 1960.

But Thatcher wanted to tighten the law, after Mrs Whitehouse pressed for perceived public immorality to be challenged.

The Iron Lady asked her home secretary to prepare a new test, which could set a new bar for what could be considered to offend good taste or public decency.

Lord Brittan felt that taste was too imprecise a concept for the courts to be able to arbitrate on and the plan was abandoned.

The news comes weeks after the Government implemented a controversial ban on certain sex acts in British-made online pornography that were deemed morally damaging and dangerous.