In an election, the successful candidate registered 5, 77, 500 votes and his nearest rival secured 3, 48, 700 votes. By what margin did the successful candidate win the election?