Image copyright Getty Images

A look at the life and times of the UK's Prime Minister, Theresa May, who has decided to call a general election for 8 June.

Theresa May is Britain's second female prime minister but, unlike her predecessor Margaret Thatcher, she came to power without an election.

She took over as leader of the governing Conservative Party last July following the resignation of David Cameron, who had gambled everything on Britain voting to stay in the European Union.

Like Mr Cameron, Mrs May had been against Brexit but she cleverly managed to keep the Eurosceptics in her party on side during the referendum campaign by keeping a low profile.

She reaped her reward by emerging as the unchallenged successor to Mr Cameron - portraying herself as a steady, reliable pair of hands who would deliver the will of the people and take Britain out of the EU in as orderly a fashion as possible.

The plan was for there to be no election until 2020, but as the BBC's Laura Kuenssberg explains, the political logic for going to the country earlier became inescapable.

With a commanding lead in the opinion polls, the bigger gamble might well have been to wait another three years and risk Brexit negotiations turning sour or the opposition Labour Party recovering ground.

Image caption Theresa May, back row, right, in the 1999 shadow cabinet

The 60-year-old former home secretary has a reputation for a steady, unshowy approach to politics, although she was known in her early days at Westminster for her exotic taste in footwear and a fondness for high fashion (she named a lifetime subscription to Vogue as the luxury item she would take to a desert island).

She battled her way through the Westminster boy's club as one of a handful of women on the Conservative benches - she would later be joined by more female colleagues thanks, in part, to her own efforts as party chairman to get women candidates into winnable seats.

She developed a reputation as a tough, critics would say inflexible, operator, who was not afraid of delivering unpalatable home truths.

Some in the Conservative Party have never forgiven her for a 2002 conference speech in which she told members that "you know what some people call us - the nasty party".

Her lectures to Police Federation conferences as home secretary about the need for reform and to tackle corruption added to this steely reputation.

She was always ambitious but her rise through the ranks was steady, rather than meteoric.

Who is Theresa May?

Media playback is unsupported on your device Media caption Theresa May: We need proven leadership to negotiate the best deal

Date of birth: 1 October 1956 (aged 60)

1 October 1956 (aged 60) Job: MP for Maidenhead since 1997. Home Secretary since May 2010

MP for Maidenhead since 1997. Home Secretary since May 2010 Education: Mainly state-educated at Wheatley Park Comprehensive School with a brief time at an independent school; St Hugh's College, Oxford

Mainly state-educated at Wheatley Park Comprehensive School with a brief time at an independent school; St Hugh's College, Oxford Family: Married to Philip May

Married to Philip May Hobbies: Cooking - she says she owns 100 recipe books. Occasional mountain walks. On BBC Radio 4's Desert Island Discs in 2014, she chose Abba's Dancing Queen and Walk Like A Man, from the musical Jersey Boys, among her picks, alongside Mozart and Elgar.

Cooking - she says she owns 100 recipe books. Occasional mountain walks. On BBC Radio 4's Desert Island Discs in 2014, she chose Abba's Dancing Queen and Walk Like A Man, from the musical Jersey Boys, among her picks, alongside Mozart and Elgar. On her party's future: "(It is) nothing less than the patriotic duty of our party to unite and to govern in the best interests of the whole country. We need a bold, new positive vision for the future of our country - a country that works not for a privileged few but for every one of us." Says people want more than just a "Brexit PM" and has vowed to unify the Leave and Remain factions in the party.

The daughter of a Church of England vicar, Hubert, who died from injuries sustained in a car crash when she was only 25, Theresa May's middle class background has more in keeping with the last female occupant of Downing Street, Margaret Thatcher, than her immediate predecessor.

Image caption Theresa May married her husband Philip in 1980

Born in Sussex but raised largely in Oxfordshire, Mrs May - both of whose grandmothers are reported to have been in domestic service - attended a state primary, an independent convent school and then a grammar school in the village of Wheatley, which became the Wheatley Park Comprehensive School during her time there.

The young Theresa Brasier, as she was then, threw herself into village life, taking part in a pantomime that was produced by her father and working in the bakery on Saturdays to earn pocket money.

Friends recall a tall, fashion-conscious young woman who from an early age spoke of her ambition to be the first woman prime minister.

Image copyright Theresa May Image caption The young Theresa Brasier at a function in the village hall

Like Margaret Thatcher, she went to Oxford University to study and, like so many others of her generation, found that her personal and political lives soon became closely intertwined.

In 1976, in her third year, she met her husband Philip, who was president of the Oxford Union, a well-known breeding ground for future political leaders.

The story has it that they were introduced at a Conservative Association disco by the subsequent Pakistani prime minister Benazir Bhutto. They married in 1980.

Her university friend Pat Frankland, speaking in 2011 on a BBC Radio 4 profile of the then home secretary, said: "I cannot remember a time when she did not have political ambitions.

"I well remember, at the time, that she did want to become the first woman prime minister and she was quite irritated when Margaret Thatcher got there first."

Image caption Theresa May is seen here as a child with her parents Hubert and Zaidee

There are no tales of drunken student revelry, but Pat Frankland and other friends say May was not the austere figure she would later come to be seen as, saying she had a sense of fun and a full social life.

After graduating with a degree in Geography, May went to work in the City, initially starting work at the Bank of England and later rising to become head of the European Affairs Unit of the Association for Payment Clearing Services.

But it was already clear that she saw her future in politics. She was elected as a local councillor in Merton, south London, and served her ward for a decade, rising to become deputy leader. However, she was soon setting her sights even higher.

Mrs May, who has become a confidante as well as role model for aspiring female MPs - told prospective candidates before the 2015 election that "there is always a seat out there with your name on it".

Media playback is unsupported on your device Media caption A look at Theresa May's journey to the top job

In her case - like that of Margaret Thatcher - it took a bit of time for her to find hers. She first dipped her toe in the water in 1992, where she stood in the safe Labour seat of North West Durham, coming a distant second to Hilary Armstrong, who went on to become Labour's chief whip in the Blair government. Her fellow candidates in that contest also included a very youthful Tim Farron, who is now Lib Dem leader.

Two years later, she stood in Barking, east London, in a by-election where - with the Conservative government at the height of its unpopularity - she got fewer than 2,000 votes and saw her vote share dip more than 20%. But her luck was about to change.

The Conservatives' electoral fortunes may have hit a nadir in 1997, when Tony Blair came to power in a Labour landslide, but there was a silver lining for the party and for the aspiring politician when she won the seat of Maidenhead in Berkshire. It's a seat she has held ever since.

Image copyright Andrew Parsons/i-images Image caption Mrs May first stood for Parliament in 1992 in North West Durham

Image copyright PA Image caption Theresa May has described her husband Philip as her rock

Image caption Theresa May bumps into rock star Alice Cooper outside a BBC studio in 2010

An early advocate of Conservative "modernisation" in the wilderness years that followed, Mrs May quickly joined the shadow cabinet in 1999 under William Hague as shadow education secretary and in 2002 she became the party's first female chairman under Iain Duncan Smith.

She then held a range of senior posts under Michael Howard but was conspicuously not part of the "Notting Hill set" which grabbed control of the party after its third successive defeat in 2005 and laid David Cameron and George Osborne's path to power.

This was perhaps reflected in the fact that she was initially given the rather underwhelming job of shadow leader of the House of Commons. But she gradually raised her standing and by 2009 had become shadow work and pensions secretary.

Nevertheless, her promotion to the job of home secretary when the Conservatives joined with the Lib Dems to form the first coalition government in 70 years was still something of a surprise - given that Chris Grayling had been shadowing the brief in opposition.

While the Home Office turned out to be the political graveyard of many a secretary of state in previous decades, Mrs May refused to let this happen - mastering her brief with what was said to be a microscopic attention to detail and no little willingness to enter into battles with fellow ministers when she thought it necessary.

Image copyright PA Image caption Theresa May initially fell down the pecking order under David Cameron but worked her way back up

While some in Downing Street worried that the Home Office was becoming her own personal fiefdom, she engendered loyalty among her ministers and was regarded as "unmovable" as her tough-talking style met with public approval even when the department's record did not always seem so strong.

In his memoir of his time in office, former Lib Dem minister David Laws says: "She would frequently clash with George Osborne over immigration. She rarely got on anything but badly with Michael Gove. She and Cameron seemed to view each other with mutual suspicion.

"I first met her in 2010. I was sitting in my Treasury office, overlooking St James's Park, me in one armchair and the home secretary in the other, with no officials present. She looked nervous.

"I felt she was surprised to find herself as home secretary. Frankly, I didn't expect her to last more than a couple of years."

Despite her liberal instincts in some policy areas, she frequently clashed with the then deputy prime minister and Lib Dem leader Nick Clegg, particularly over her plan to increase internet surveillance to combat terrorism, dubbed the "Snooper's Charter" by the Lib Dems.

After one "difficult" meeting with Mr Clegg, he reportedly told David Laws: "You know, I've grown to rather like Theresa May... 'She's a bit of an Ice Maiden and has no small talk whatsoever - none. I have quite difficult meetings with her. Cameron once said, 'She's exactly like that with me too!'

"She is instinctively secretive and very rigid, but you can be tough with her and she'll go away and think it all through again."

Image copyright Getty Images Image caption Mrs May has confronted what she sees as vested interests in the police

Image copyright PA Image caption The new prime minister is a self-declared feminist

On the plus side crime levels fell, the UK avoided a mass terrorist attack and in 2013, she successfully deported radical cleric Abu Qatada - something she lists as one of her proudest achievements, along with preventing the extradition to America of computer hacker Gary McKinnon.

She was not afraid to take on vested interests, stunning the annual conference of the Police Federation in 2014 by telling them corruption problems were not just limited to "a few bad apples" and threatening to end the federation's automatic right to enrol officers as its members.

However, the Passport Office suffered a near meltdown while she faced constant criticism over the government's failure to meet its promise to get net migration down to below 100,000 a year.

Labour MP Yvette Cooper, who went up against her in the Commons as shadow home secretary, told The Guardian: "I respect her style - it is steady and serious. She is authoritative in parliament - superficial attacks on her bounce off.

"The flip side is that she is not fleet of foot when crises build, she digs in her heels (remember the Passport Agency crisis in 2014 when the backlog caused hundreds to miss their holidays, and the Border Force crisis in 2011 when border checks were axed).

"And she hides when things go wrong. No interviews, no quotes, nothing to reassure people or to remind people she even exists. It's helped her survive as home secretary - but if you are prime minister, eventually the buck has to stop."

There was a bitter public row with cabinet colleague Michael Gove over the best way to combat Islamist extremism, which ended with Mr Gove having to apologise to the prime minister and Mrs May having to sack a long-serving special adviser - a turf war which is said to have led to a diminution in her admiration for the prime minister.

Former Conservative chancellor Ken Clarke also had run-ins with her and was recorded on camera ahead of an interview last week saying that Mrs May was good at her job but a "bloody difficult woman" - before adding as an aside, a bit like Mrs Thatcher. A reference to be Conservative leader can hardly come better than that.

Mrs May has never been one of the most clubbable of politicians and is someone who prefers not having to tour the tea rooms of the House of Commons - where tittle-tattle is freely exchanged.

She has rarely opened up about her private life although she revealed in 2013 that she had been diagnosed with Type 1 diabetes and would require insulin injections twice a day for the rest of her life - something she says she had come to terms with and which would not affect her career.

Image copyright Getty Images Image caption Mrs May's taste in footwear has kept photographers interested for more than a decade

Generally thought to be in the mainstream of Conservative thinking on most economic and law and order issues, she has also challenged convention by attacking police stop and search powers and calling for a probe into the application of Sharia Law in British communities.

She also expressed a personal desire to withdraw from the European Convention on Human Rights but later said she would not pursue this as PM due to a lack of parliamentary support - an example of what many believe will be pragmatism in office.

Her social attitudes are slightly harder to pin down. She backed same sex marriage. She expressed a personal view in 2012 that the legal limit on abortion should be lowered from 24 to 20 weeks. Along with most Conservative MPs she voted against an outright ban on foxhunting.

What is undisputable is that at 59, Mrs May was the oldest leader to enter Downing Street since James Callaghan in 1976 and is the first prime minister since Ted Heath who does not have children.

Image copyright PA Image caption Mrs May has worked closely with David Cameron and will now succeed him

Image copyright PA Image caption Mrs May has been the most senior female Cabinet minister for the past six years

One of Westminster's shrewdest as well as toughest operators, Mrs May's decision to campaign for the UK to remain in the EU but to do so in an understated way and to frame her argument in relatively narrow security terms reaped dividends after the divisive campaign.

During what turned out to be a short-lived leadership campaign, Mrs May played strongly on her weight of experience, judgement and reliability in a time of crisis.

The first months of Mrs May's time in Downing Street have been dominated by the process of divorcing the UK from the EU - but there have been signs that she won't be content with the "safe pair of hands" tag that is often attached to her.

Brexit, she has said, won't be allowed purely to define her time in office and she has promised a radical programme of social reform, underpinned by values of One Nation Toryism, to promote social mobility and opportunity for the more disadvantaged in society.

Policies such as new grammar schools or more selection have been put forward - but with a slender parliamentary majority of 17 her government had little breathing room on bringing forward tightly contested legislation.

So, despite promising not to hold a general election before she had to, in 2020, she has now decided to seek a mandate for her own particular brand of Conservatism to, as she put it, to "guarantee certainty and security for the years ahead".