A man has been arrested for reportedly approaching and attempting to rob a plainclothes officer on Monday evening.

According to the Pittsburgh Tribune-Review, police say the man—identified as 26-year-old Aaron Walker—approached the unidentified officer, pulled a knife, and demanded $5 and a cigarette.

Walker is facing charges of robbery, access device fraud, possessing instruments of crime, criminal mischief, receiving stolen property, and public drunkenness.