He intended to commit another crime. We don’t know what crime or if he even did it but we are sure he intended to.
Laura Ingraham played a video of some analyst pointing out what a spectacular victory that was for the prosecution because the jury wouldn't have to quibble over that detail.