Original sentence: He resigned as prime minister on 27 June 2007, and was replaced by Gordon Brown.Soon after he converted to Catholicism
Edited sentence: After winning a third term, pressure built within the Labour party for Blair to resign due to its reduced majority after the 2005 general election, increasing popular opposition to the Iraq war, frequent back-bench rebellions, the Cash for Honours scandal, a case of fraud involving a multi-billion pound arms deal with Saudi Arabia, the Dodgy Dossier scandal and low approval ratings.Blair resigned as prime minister on 27 June 2007, and was replaced by Gordon Brown.Following the September 11 attacks he aligned the United Kingdom as the most important US ally in the "war on terror" and the Iraq war, both politically and militarily, despite significant public opposition.Soon after, he publicly converted to Catholicism