(a) A person commits an offense if he intentionally flees from a person he knows is a peace officer or federal special investigator attempting lawfully to arrest or detain him.