Image copyright Universal Image caption Like the men of Dad's Army, the vast majority of civilians pulled together for the war effort, but some used the situation for their own criminal ends

The new Dad's Army movie shines a light on the selfless volunteers who pulled together to defend the UK from the threat of Nazi invasion. But not everyone was necessarily in it together. Despite the Blitz spirit of World War Two, crime rose from 303,771 offences in 1939 to 478,000 in 1945. Why?

Looting

Image copyright Getty Images Image caption Some air raid wardens would be sent out to protect people's damaged homes as much as to help survivors

During the early part of the war, British cities suffered repeated bombing raids that devastated large areas. This was the source of the famous Blitz spirit - the British people's determination to maintain the war effort. But while many pulled together, others used the raids as an opportunity for crime.

Bombed and abandoned buildings were a treasure trove for looters. After a raid on Dover, one man returned home to find his entire house stripped. Even the carpets and pipes had been taken by opportunistic thieves.

Others even looted while air raids were taking place. At the height of the air raid on Coventry in November 1940 two men were caught ransacking a wine seller's.

"I cannot think of conduct more detestable than that, during the most dreadful air raid which has ever taken place, you should be found looting," the judge told them as he jailed them for six and seven years respectively.

In Kensington, west London, a gardener was caught removing rings from four dead bodies in January 1941 while on one day in November 1940, 20 of the 56 cases at the Old Bailey were looters. Ten of these were auxiliary firemen.

There were also cases of murderers hiding their victims in damaged houses. When the bodies were discovered it was assumed they had been in the house when the bomb hit.

Image caption As well as stories of heroism, newspapers were filled with reports of crime

Harry Dobkin was hanged in 1943 after being found guilty of murdering his wife and burying her in the basement of a bombed-out Baptist chapel in Lambeth.

Prosecutors said he had hoped people would mistake her for a victim of the raids should she be discovered.

The government was so concerned about looting it brought in the death penalty and life sentences as a deterrent. However, perhaps with a view to the importance of morale, no-one was actually executed for looting and most were given heavy fines or shorter sentences.

The courts could still be severe, however.

"There was a warden who was looking through a bomb-damaged home looking for survivors," said historian Juliet Gardner, author of Wartime Britain 1939-1945.

"He and his team came across a bottle of brandy, he decided to share it with his men to boost their spirits. He was prosecuted for looting, which just seems ridiculous."

Juvenile delinquency

Image copyright Getty Images Image caption There were increased complaints about the behaviour of children

More than 3.5 million people were moved from high-risk cities to the safer countryside during the war, many of them children.

The combination of boredom and lack of parental control was blamed for a sharp rise in juvenile delinquency by the Police Review in November 1939.

"In some parts of the country gangs of young hooligans are appearing partly because the restrictions on amusements have left no alternative but the streets as leisure-time resorts," the newsletter said.

In 1939, 52,000 people under the age of 17 appeared before magistrates. Two years later that had risen to 72,000.

In Bath, an 11-year-old London evacuee was sent to a remand home for a week after admitting stealing money from his foster mother, while two 10-year-old evacuees were fined after breaking flower pots and causing damage in the city's Henrietta Park.

Image copyright Getty Images Image caption Millions of people became evacuees with many children being found new homes away from the bombed-out cities

Birchings were regularly handed out as a punishment by the courts.

One 13-year-old boy in Ipswich was sentenced to six strokes in 1939 after stealing food intended for evacuated children.

And in 1944 two boys broke into a bombed-out house that had been converted into a munitions store and "stole enough anti-tank bombs to blow up themselves and their families", the Birmingham Mail reported.

Ration abuse

Average weekly rations for an adult 8oz (225g) sugar, 12oz (350g) of sweets allowed every four weeks

4oz (114g) bacon and ham, £6 worth of other meat was also allowed

3 pints (1.7l) of milk, 2oz (57g) of tea,

2oz (57g) cheese, same amount of butter and 4oz (114g) of margarine

1 fresh egg, one packet of dried eggs every four weeks Getty Images

Perhaps nothing encapsulated the ideal of an "all in it together" wartime attitude than rationing, which required everyone to make sacrifices in order to ensure there was enough to go around.

But the system was abused - and disputes could even lead to murder.

An aircraft gunner at an aerodrome camp in the north of England was accused of shooting and killing a superior officer after the pair had argued over rations in March 1944.

Image caption Spivs like Private Joe Walker (right) in Dad's Army knew how to play the system to line their own pockets

"He asked for it," the Birmingham Mail reported witnesses hearing the killer say.

The use of the black market - as embodied by the spiv Private Walker in Dad's Army - was widespread amid the constraints of rationing and some sought to fiddle the system, much in the way benefits cheats operate today.

One woman in Hartlepool was fined £160 in 1940 after using four ration books to get food for her family of three. Her 15-year-old son had accidentally been sent a child's book and an adult's and she used both for six months to obtain extra supplies.

She claimed she thought the extra rations were because her son was a "big schoolboy", the Northern Echo reported.

People were also caught using ration books belonging to elderly relatives who had died, while others simply swapped any rations they did not want with their neighbours.

Several London hotels were fined in 1941 for illegally buying "at least" 150,000 eggs from a black market dealer from Folkestone.

The hotels, which had paid up to twice the controlled price for the eggs, said they were "desperate to feed the guests".

The dealer was sentenced to three months' hard labour.

Image copyright Getty Images Image caption Clothes were also rationed and while some turned to the black market others found creative solutions such as having their legs painted to look like stockings

Blackout breaches

Image copyright Getty Images Image caption Strict blackout measures were introduced to prevent bombers from identifying targets

During the hours of darkness, all street lights were switched off in an effort to hide targets from the Luftwaffe.

This had the unfortunate effect of providing cover for all manner of criminal deeds, including sexual assaults.

A 14-year-old boy was bound over by Cornish magistrates after indecently assaulting a woman in a Newlyn street in January, 1940.

He also admitted several other similar offences and said he had started by just bumping into women, using the excuse of the blackout before moving on to grabbing them.

In January 1943, police were seeking a man using the cover of blackout to indecently assault women in the Kingstanding area of Birmingham.

In Sheffield, the city's tram inspectors complained that passengers were exploiting the blackout to use incorrect money to pay for rides.

Blackout blinds were commonplace and shining a light at night was a serious but commonplace offence.

"It was terribly easy to break blackout," Ms Gardiner said.

"Some people just forgot; for example you might remember to pull the curtains down at the front of the house but not the back.

"They usually got a fine - it could be quite a hefty one."

Image copyright Getty Images Image caption Blackout curtains were commonplace but those who did have to go out in the dark would take safety measures

Crimes of passion

Image copyright Getty Images Image caption Some Italian prisoners of war proved popular with the local ladies

While many relied on love to cope with the stresses of wartime, others used wartime to further their chances of finding love.

One man threatened to falsely report a love rival to the police for being a German spy unless he stopped seeing a woman he was in love with, the Birmingham Mail said in 1939.

And there were many cases of civilians masquerading as soldiers in order to attract members of the opposite sex.

Women also committed offences under the influence of love, with several making the papers for passing love letters to Italian prisoners of war.

One from near Newport, in south Wales, was sentenced to six weeks' hard labour for doing exactly that in February 1943.

The object of her affection had been seen leaving his working party for up to three hours to go to the married woman's house. Court officials called her conduct "abominable".

Ignoring the government

Image copyright Getty Images Image caption The government imposed numerous orders, such as compulsory work and farming quotas, to aid the war effort

One of the reasons for the rise in crime was there were suddenly many more laws citizens could break, says Ms Gardiner.

Numerous orders were issued by the government to keep the wheels of war rolling smoothly.

For example, compulsory work orders were made and anyone failing to do their bit could end up in court.

An engine tester in Coventry was sentenced to three months' hard labour in 1943 after taking 10 days off without permission when he got married.

Two women from King's Norton, in Birmingham, were fined in January 1943 for refusing to do war work.

Both said they were conscientious objectors and their services were "not at the disposal of the government".

One said she could not "outlaw war with her left hand and help in its successful prosecution with the other".

Image copyright Getty Images Image caption While customers were limited by rations, businesses also had strict price controls imposed on them by the government to prevent profiteering

In Hebburn, South Tyneside, a 20-year-old apprentice driller irked magistrates in 1942 after he was late for work 33 times in 41 days.

He was charged under the Essential Work Order, with the chairman of the bench telling him the best place for him would be the Army so he could "get discipline", the Northern Echo reported.

People could also be punished for helping others break orders, such as a woman in Sheringham, Norfolk, who was caught hiding an absentee soldier in her cupboard in 1941.

Other orders included maximum price controls to prevent businesses from profiteering.

In 1941, in Newcastle, the Blaydon District Industrial and Provident Society was fined £290 after it sold two pounds of apples for about £11 when the maximum price was £4.

Elsewhere a farmer near Darlington was fined more than £1,000 in 1942 after failing to grow two acres of potatoes, as ordered by the minister of agriculture.

The Northern Echo reported County Durham needed to grow 23,000 acres of potatoes that year for the war effort which "depended entirely on each individual doing his share".

Playing the system

Image copyright Getty Images Image caption Opportunistic crooks would charge people for places in public air raid shelters such as Tube stations

Some opportunistic criminals worked out a way to earn money from the free, crowded and public air-raid shelters. They would charge people for places, using their lackeys to hold the spots until payment had been made.

Others abused government compensation schemes set up to help those whose homes or businesses had been destroyed by bombs.

One man in London was jailed for three years after claiming to have lost his home 19 times in a three-month period. On each occasion he had received at least £500 compensation.

After the introduction of conscription, some doctors broke the law by agreeing to mark a patient as unfit for military service, usually for a financial reward.

And civilians particularly keen to avoid the call-up paid the genuinely sick or injured to attend medicals in their place.

"It's the underside of the world, but in a sense what do you expect?" said Ms Gardiner.

"Human nature doesn't change. There was a great deal of bravery, strength and fortitude shown by many people but there were also those willing to abuse the situation for their own advantage."

All prices have been adjusted to today's values.