France will give residence papers to an illegal immigrant from Mali who scaled the facade of a Paris apartment block to save a boy who was about to fall from a fourth-floor balcony, President Emmanuel Macron says.
Video shows Mamoudou Gassama, 22, risking his life on Sunday (local time) as he climbed up the balconies to rescue the four-year-old who was clinging to a railing and glancing at the ground below, while horrified onlookers watched.
The video went viral and Mr Gassama, who has been nicknamed "Spider-Man" for reaching the boy in time, was swiftly granted a meeting at the Elysee Palace.
"I did it because it was a child," French newspaper Le Parisien quoted Mr Gassama as saying. "I climbed... Thank God I saved him."
Mr Macron congratulated Mr Gassama for "an exceptional act" and said France would give him a job in the emergency services.
"We'll obviously be setting all your papers straight and if you wish it, we will start the process of naturalisation so that you can become French," he added on Monday.
Mr Gassama told Mr Macron he tried to cross the Mediterranean in March 2014 to reach Italy but was caught by police.
"What you have done corresponds with what firefighters do; if this fits your wishes, you could join the firefighters' corps so that you can do [such acts] on a daily basis," Mr Macron said.
Mr Gassama told Paris Mayor Anne Hidalgo by phone on Sunday he arrived from Mali a few months ago and wished to stay in France.
"I replied that his heroic gesture was an example for all citizens and that the City of Paris will obviously be keen to support him in his efforts to settle in France," Ms Hidalgo said.
The boy's father was arrested and told police he had left his son alone to go shopping and returned home later than planned because he was playing Pokemon Go, an enhanced reality game, on his smartphone.
Mr Gassama is being offered a spell of community service work at the Paris emergency services. An official website says the work pays about 480 euros (NZ$800) a month for a fixed 11-month period.