An alleged robber got more than he bargained for when he was electrocuted at a train station moments after stealing R30 000 from a hair salon in Cape Town, police said on Sunday.

Posing as a police officer, the 30-year-old man allegedly went into the African Hair Salon on Strand street on Saturday afternoon, pretending to be searching for drugs.

"Together with another unknown man, they then produced appointment certificates similar to those of police officers. One of them then threatened the complainant and took R30 000 that was in a plastic bag at gunpoint," said Captain Randall Stoffels.

The two men then allegedly fled on foot towards a railway station.

Accomplice still on the run

It was there that police on patrol found one of them lying on the train tracks with burn wounds shortly afterwards.

"Police officers found a large amount of cash on the injured suspect and he is currently under police guard at a nearby hospital," Stoffels said.

The man's alleged accomplice is still being sought by police.

Stoffels urged members of the public to contact Detective Sergeant Leonard Woolstencroft on 021 467 6392 should they have information regarding the whereabouts of the other man.