The reign of the country's longest serving leader came to an end on Sunday after he was cast out by just one vote by parliament.