A man who saved a 4-year-old boy by scaling the outside of four floors of a Paris apartment building has officially been granted French citizenship.

Mamoudou Gassama, a 22-year-old migrant from Mali, was hailed internationally as a hero after a video of the “Spider-Man” rescue went viral.

A government decree published Wednesday formally granted Gassama with French citizenship, as promised earlier this year by French President Emmanuel Macron, according to ABC News.

ADVERTISEMENT

“His act of great bravery exemplifies the values which help unite our national community, such as courage, selflessness, altruism and taking care of the most vulnerable," the decree reads.

Macron met with Gassama at the Elysee Palace shortly after the rescue in May, promising him citizenship and giving him a certificate and a medal.

The French president also offered Gassama a job with the Paris Fire Department, which he began in July.