Making it illegal to be drunk in a pub is the looniest law in the land.

The London Dungeon is highlighting the craziest laws to have been passed since the signing of the Magna Carta 800 years ago.

People on the attraction’s social media channels have been given a list of loopy legislation still on statute and asked to choose the barmiest law.

The public has overwhelmingly declared the clause in the 1872 Licensing Act making it an offence for a landlord to allow drunkenness in their pub to be the maddest law.

It is followed by handling salmon in suspicious circumstances (Salmon Act 1986) and carrying a plank along a pavement (Metropolitan Police Act 1839).

Here are the 12 most ludicrous laws as ranked by voters:

1. It is an offence for a pub landlord to allow drunkenness in their pub - in other words it is illegal to be drunk in a pub! (1872)

2. It is illegal to handle a salmon in suspicious circumstances (1986)

This Is Local London:

3. It is against the law to carry a plank along a pavement (1839)

This Is Local London:

4. It is illegal to enter the Houses of Parliament in a suit of armour (1313)

5. It is illegal to beat or shake any carpet or rug in any street. However, beating or shaking a doormat is allowed before 8am (1839)

This Is Local London:

6. Under this same law it is illegal for any person to fly a kite or slide on ice or snow whilst in the street (1839)

This Is Local London:

7. Any dead whale or sturgeon found on the British coast automatically becomes the property of the Monarch (1322)

8. It is illegal not to tell the tax man anything you do not want him to know, but legal not to tell him information you do not mind him knowing (2006)

9. In London, it is illegal for a person (knowingly) with the Plague to ride on a bus (1984)

This Is Local London:

10. It is illegal to keep a pigsty in front of your house - unless duly hidden (1847)

11. It is an offence to be intoxicated and in charge of a horse or cow (1872)

12. No person shall import into England potatoes which he knows to be or has reasonable cause to suspect to be Polish potatoes (2004)

MORE BIZARRE STORIES ON LOCAL LONDON:

To mark the Magna Carta anniversary, a courtroom show is taking place at London Dungeon on the South Bank throughout June where Judge Lord Wendy Farqhuar is putting some of the nuttiest laws on trial.

Visitors are likely to find themselves on a short walk to Tyburn before being condemned to ‘take the drop’ on Drop Dead Drop Ride to Doom, a thrilling vertical free-fall ride.