gordon brown formed the brown ministry after being invited by queen elizabeth ii to begin a new government following the resignation of the previous prime minister of the united kingdom, tony blair, on 27 june 2007. he took office as prime minister, a title he would hold until his resignation on 11 may 2010. in his inaugural cabinet, brown appointed the united kingdom's first female home secretary, jacqui smith.