Gordon Brown has resigned as the Prime Minister after losing the general election and not being able to agree a deal to run the country.
The Labour Party lost lots of seats in last week's vote, and the only way Gordon Brown could have stayed in charge was if his party joined forces with the Liberal Democrats.
But it looks like they are doing a deal with David Cameron's Conservatives.
It means that he will take over as prime minister sometime soon.
Mr Brown stood outside 10 Downing Street with his wife Sarah to tell the hundreds of reporters and cameras that he was stepping down.
He said it had been tough, but added: "I loved the job for its potential to make this country I love fairer."
But he said his number one job had always been trying to be a good husband and a good dad.
Afterwards he brought his two young sons John and Fraser out to see the crowds before going to Buckingham Palace to tell the Queen that he was quitting.