The defendant could face up to life in prison as a third time habitual offender.
Adam Gilbert is accused of robbing a cab driver at knifepoint.