A former corrections officer was arrested after Titusville police said he impersonated an officer to get discounted food at McDonald's Tuesday.

Albert McDaniel, 48, was arrested and charged with impersonating an officer after police say he used his old credentials as a federal corrections officer to get a McDonald's discount.

A manager at the Titusville McDonald's called police and reported a "suspicious" person who flashed a badge and asked for a discount, according to police reports.

Officers then pulled McDaniel over as he was leaving the restaurant because of his illegal window tint, police reports said.

McDaniel then showed officers his badge asked for a "professional courtesy" to get out of the traffic stop, according to police.

Although McDaniel had an corrections officer identification badge, he had actually been fired from the job last year without returning his credentials, police said.

Officers reported McDaniel had tried to get discounts from other area restaurants, including an Outback Steakhouse in Merritt Island. He told police he didn't believe he was committing a crime by flashing the corrections officer badge.

McDaniel was arrested and has since been released on bond.