London (CNN) Baroness Trumpington, the former World War Two codebreaker and British politician, has died at the age of 96.

Her son Adam Barker broke the news on Twitter on Monday, writing that "she had a bloody good innings."

My mother passed away this afternoon in her sleep. She did not make it to October 2022(100) ..but she had a bloody good innings. pic.twitter.com/IdtWi1zhPq — Adam Barker (@adamant138) November 26, 2018

Baroness Trumpington served for 37 years in the House of Lords, the second chamber of the British parliament, only retiring in 2017.

Prior to that she also served as a Conservative government minister and party whip, whose role is to maintain party discipline, according to the UK's Press Association.

Baroness Trumpington (left) smoking a cigar with Lord Pendry in 2006

During WWII, she was one of the so-called "Land Girls", who worked to maintain food production during the war, and also worked at the famous Bletchley Park codebreaking facility in naval intelligence.

Read More