STATEN ISLAND, N.Y. -- A Clifton teen took part in a gunpoint mugging in New Brighton early Sunday morning, only to get caught after he and his friends used their victim’s keys to break into his car, authorities allege.

Police say Unique Amaker, 17, of Park Hill Avenue, and two suspects who remain at large approached their mark at the corner of Westervelt and Hamilton avenues about 12:40 a.m., asking for the time.

One of them pulled out what appeared to be a firearm, police allege, and said, “Give me everything you have,” court papers allege.

The victim threw his property on the ground, and the trio took his car keys and other items, authorities allege.

The man then called police, who staked out his car, waiting to see if the suspects would try to use the stolen keys, a law enforcement source said.

Sure enough, they did, and when officers saw the car’s dome light go on, they moved in to make the arrest, . The trio scattered, and Amaker ended up in cuffs, while the other two escaped, the source said.

Amaker is charged with first- and second-degree robbery, fourth-degree grand larceny and fourth-degree criminal possession of stolen property, said William J. Smith, a spokesman for District Attorney Daniel Donovan.