A Berks County sheriff's deputy was in the right place at the right time when he pulled up behind what turned out to be a robbery in progress.