Father of child in 'Spiderman' rescue was reportedly off playing 'Pokémon Go'

The story of a dramatic rescue of a child that was dangling from a Paris balcony took a depressing turn on Tuesday when it was revealed that the child's father was off playing Pokémon Go at the time of the incident.

SEE ALSO: Real-life 'Spider-Man' who climbed building to save child to meet with French president

The child was rescued by 22-year-old Mamoudou Gassama, an undocumented Malian migrant. In the now-famous feat, Gassama scaled several stories, earning him the "Spiderman" nickname, to save the child.

But it turns out the child's father is now in very hot water over what he was doing at the time of the rescue. French prosecutor Francois Molins told a CNN affiliate that the father had gone grocery shopping, leaving the child alone and then proceeded to play Pokémon Go after leaving the shop. (The child's mother was away on a trip visiting family at the time.)

The father has been charged with "failure to meet parental obligations" and could face up to two years in prison if found guilty at trial, which is currently scheduled for September. According to Molins, the father is "devastated" by what's transpired.

Gassama, for his part, met with French President Emanuel Macron who said he would make Gassama a full French citizen.

In an Instagram post showing him meeting Gassama on Monday, Macron said:

The family of the child also showered praise on Gassama, the child's grandmother calling the rescuer a "hero." 

WATCH: Presidents Trump and Macron dug a tree and somehow that became a meme. The Internet is unpredictable.

Https%3a%2f%2fblueprint api production.s3.amazonaws.com%2fuploads%2fvideo uploaders%2fdistribution thumb%2fimage%2f85716%2f5fd04dff 4458 4ef1 bf1c d189bc86bb53
Https%3a%2f%2fblueprint api production.s3.amazonaws.com%2fuploads%2fvideo uploaders%2fdistribution thumb%2fimage%2f85716%2f5fd04dff 4458 4ef1 bf1c d189bc86bb53