Gerald Hiam

Updated at 9:08 a.m. Thursday to include the suspect's identification.

A suspect in the robbery of a student outside Coppell High School was arrested Wednesday night after barricading himself in his vehicle.

Gerald Hiam, 29, of Gilmer was booked into the Dallas County Jail late Wednesday on an outstanding warrant for aggravated robbery out of Upshur County in East Texas.

Police were tipped off about 7:15 p.m. when a resident in the 100 block of Hartford Circle called to say a vehicle fitting the description of the one used in the Coppell High robbery was parked outside.

When officers attempted to contact the driver, he refused to get out of his car.

{"type":"video","title":"Dallas News Video","author_name":"Dallas News","_id":"ZjYXR1YTE6RWuEZpFAhXEfjyAD0HDue0","provider_name":"Ooyala","html":"

","raw":"{\"type\":\"video\",\"title\":\"Dallas News Video\",\"author_name\":\"Dallas News\",\"_id\":\"ZjYXR1YTE6RWuEZpFAhXEfjyAD0HDue0\",\"provider_name\":\"Ooyala\",\"html\":\"\\u003Cdiv class=\\\"oo-vid-container\\\" data-oo-content-id=\\\"ZjYXR1YTE6RWuEZpFAhXEfjyAD0HDue0\\\"\\u003E\\u003C\\/div\\u003E\\u003Cscript defer src=\\\"https:\\/\\/www.dallasnews.com\\/resources\\/motif\\/dist\\/js\\/ooyala.js\\\"\\u003E\\u003C\\/script\\u003E\"}","providerType":"ooyala","providerLink":"https://www.dallasnews.com/oembed","embedType":"video"}

At one point, Hiam displayed a handgun, but he did not point it at officers. He was acting erratic and showed signs of drug use, police said. Officers set up a perimeter and notified SWAT, but Hiam surrendered after about an hour, before the tactical team got involved.

Police later said Hiam is suspected in the robbery that occurred just before 6:30 p.m. in the parking lot of the high school on Parkway Boulevard.

A surveillance camera captured a picture of the suspect's vehicle. (Coppell police)

The robber pulled up to the victim in a silver Nissan Sentra and asked a few questions before pulling out a handgun.

He pointed it at the teen and demanded his cellphone and wallet. The victim handed them over, and the gunman drove away.

Police coordinated with Coppell ISD for extra patrols at the school after the robbery.