A Brazilian gang leader tried to escape from prison by impersonating his teenage daughter, complete with a lifelike silicone mask and wig, before attempting to walk out the front door in her place after she visited him.

The attempt by the prisoner — Clauvino da Silva, 42, also known as Shorty — to pass as the young woman was thwarted by guards at the Bangu prison complex in Rio de Janeiro, who noticed his nervousness on Saturday as he tried to leave, the newspaper O Dia reported, citing prison officials.

Footage released by Rio de Janeiro’s Penitentiary Administration Secretariat shows Mr. da Silva after being discovered by the guards. In it, he wears the mask, glasses, long black wig, jeans and a pink T-shirt with doughnuts on it.