Former British leader David Cameron to leave Parliament

FILE - This is a Wednesday, July 13, 2016 file photo of Britain's Prime Minister David Cameron speaks to the media as he leaves 10 Downing Street, in London, after formally resigning as prime minister . Cameron announced Monday Sept. 12, 2016 that he will step down from his position as a Member of Parliament. Cameron’s unexpected announcement Monday will trigger a by-election for his seat in Oxfordshire England . (AP Photo/Frank Augstein) (The Associated Press)

Former Prime Minister David Cameron has announced he will step down from his position in Parliament.

Cameron's unexpected announcement Monday will trigger a by-election for his seat in Oxfordshire. Cameron had earlier resigned as prime minister after failing to convince British voters in June to remain in the European Union in a referendum.

He said at the time he planned to remain in Parliament although he would no longer have a leadership role in the Conservative Party.

He has been replaced as prime minister by Theresa May, who is overseeing the process to remove Britain from the EU bloc.

Cameron had won re-election in 2015, but his position became untenable after losing the EU vote on June 23. He had campaigned in favor of remaining in the EU bloc.