Code breakers intercepted the very final German message sent during WWII

German Foreign Minister Arthur Zimmermann, pictured, proposed an alliance with Mexico if the United States joined the war on the side of the allies. Mexico was told they would receive Texas, New Mexico and Arizona in the event of an allied defeat. Experts in Room 40 of the Admiralty intercepted the telegram and it was later leaked to US newspapers

Tony Comer – who has worked for GCHQ for 36 years and has spent the last 10 as its historian – picks high-profile moments from its history.

The Zimmermann telegram:

In January 1917, GCHQ’s predecessors in Room 40 of the Admiralty produced an intelligence report that contributed to the United States, which was still neutral at that point, entering the First World War on the Allied side.

The German Foreign Minister, Arthur Zimmermann, proposed an alliance with Mexico: if the US joined the Allied side in the war and Mexico would ally itself with Germany, it would receive Texas, New Mexico and Arizona as prizes after the defeat of the Allies.

The message was intercepted by the UK and read on January 17, with its importance quickly realised.

A copy of the message between the German Embassies in Washington and Mexico City was shown to the US Embassy in London.

It was leaked to the US press and was front page in most US newspapers on March 1 1917.

Zimmermann publicly announced that the telegram was authentic, and in April the United States declared war on Germany.

Breaking the Enigma code:

The Enigma machine was invented by a German engineer Arthur Scherbius shortly after the First World War.

Dilly Knox, one of the former British First World War codebreakers, was convinced he could break the military version of the system and set up an Enigma Research Section, comprising himself and Tony Kendrick, later joined by Peter Twinn, Alan Turing and Gordon Welchman: their success was built on a foundation of the success of Polish cryptanalysts before them.

They worked in the stable yard at Bletchley Park and that is where the first wartime Enigma messages were broken by the UK in January 1940 during the Second World War.

Details of those who worked at Bletchley Park have been preserved and used as an exhibit in GCHQ's head quarters

Details of those who worked at Bletchley Park have been preserved and used as an exhibit in GCHQ’s head quarters 

Code breakers at Bletchley Park used Enigma machines to crack German naval signals during the Second World War. This Enigman machine is located in GCHQ's headquarters building in Cheltenham

Code breakers at Bletchley Park used Enigma machines to crack German naval signals during the Second World War. This Enigman machine is located in GCHQ’s headquarters building in Cheltenham

The forerunner for GCHQ sought volunteers during 1938 who could be recruited at the outbreak for war. They wanted people who were promising mathematicians and linguists - as well as those with code breaking experience from the First World War

The forerunner for GCHQ sought volunteers during 1938 who could be recruited at the outbreak for war. They wanted people who were promising mathematicians and linguists – as well as those with code breaking experience from the First World War

Cuban Missile Crisis:

The Admiralty built a wireless telegraphy station at Scarborough in 1912.

From 1914 onwards it had responsibilities for Sigint, intelligence gathering by interception of signals, as well as its ordinary communications mission.

In 1962 the US learned that the Soviet Union was secretly shipping nuclear missiles on to the island of Cuba, just 90 miles from America.

During the Cuban Missile Crisis, GCHQ was intercepting position reports from Russian ships such as the Kasimov, pictured, to determine whether the Soviets were planning to run the US blockade imposed by President John F Kennedy

During the Cuban Missile Crisis, GCHQ was intercepting position reports from Russian ships such as the Kasimov, pictured, to determine whether the Soviets were planning to run the US blockade imposed by President John F Kennedy

The Soviet freighter  Anosov, rear, being escorted by the USS Barry and a US Navy plane was one of the vessels seeking to run the blockade. GCHQ's station in Scarborough compiled position reports from Soviet vessels heading to Cuba. These reports showed the moment when the Russian ships turned around

The Soviet freighter  Anosov, rear, being escorted by the USS Barry and a US Navy plane was one of the vessels seeking to run the blockade. GCHQ’s station in Scarborough compiled position reports from Soviet vessels heading to Cuba. These reports showed the moment when the Russian ships turned around 

The world was facing nuclear conflict after a Soviet missile base was spotted in Cuba by US Air Force intelligence flights

The world was facing nuclear conflict after a Soviet missile base was spotted in Cuba by US Air Force intelligence flights 

President John F Kennedy’s advisers pushed for an immediate invasion of the island but Kennedy opted instead for a naval blockade on further shipping arriving.

Some Soviet ships were already on their way to the island.

The question was whether they would break through the blockade. If they did, the risk was a conflict which could escalate into nuclear war.

One of the missions of the Scarborough station was to intercept position reports of Soviet merchant shipping.

This meant that it could say exactly where these vessels were, when they stopped sailing towards Cuba and when they turned around and headed back to the Soviet Union.

Reports gradually showed more ships originally bound for Cuba alter their course to return to Soviet ports.

A key report from this series – which shows the first report of a ship changing course- has just been declassified.

Read more at DailyMail.co.uk