(BBC) Argentina’s outgoing President Cristina Fernandez de Kirchner has made an emotional farewell speech to supporters in Buenos Aires.
She urged people to take to the streets if they feel betrayed by the new centre-right government.
Conservative Mauricio Macri, who won a run-off election last month, is due to be sworn in as president later.
Mr Macri inherits problems including high inflation and a low level of foreign currency reserves.
The new Argentine leader has promised a new era of change and reconciliation.Addressing tens of thousands of cheering supporters outside the La Casa Rosa presidential palace in Buenos Aires, Ms Fernandez defended her record.
“We believe in what we have achieved so we need to have a positive attitude to ensure that these things will not be destroyed,” she said.
“When you feel that those who you trusted and voted for have betrayed you, take up your flags,” she added.
Ms Fernandez is to skip Thursday’s swearing-in after the two became embroiled in a row over the ceremony’s location.
It will the first time since the end of Argentina’s military dictatorship in 1983 that a president has not attended the inauguration of a successor.
Mr Macri sought a court injunction affirming that Ms Fernandez’s term ended at midnight on Wednesday.
During her speech, Ms Fernandez joked: “I can’t talk much because after midnight I’ll turn into a pumpkin.”
Power will now be transferred to the new president by Senate Speaker Federico Pinedo, who is acting act as temporary head of state for 12 hours.
Ms Fernandez and her late husband, Nestor Kirchner, held power in Argentina for 12 years.
She is revered by some Argentines for expanding welfare benefits, nationalising some companies and introducing new civil rights such as gay marriage.
But critics say she created a culture of handouts and clogged Latin America’s third-largest economy with interventionist policies.
Mr Macri – the outgoing mayor of Buenos Aires and a former president of football club Boca Juniors – defeated Ms Fernandez’s preferred candidate Daniel Scioli by 51.4% to 48.6% in a run-off vote last month.
He is the first centre-right leader to come to power since Argentina returned to democracy.
Mr Macri has not detailed his economic policies, but said that he will need to implement swift and radical changes in order to win back market confidence.
However, Ms Fernandez’s party still holds the most seats in the legislature and could make it hard for him to implement big changes.