A 23-year-old man attempted to set himself ablaze allegedly after the police tried to stop a march he was leading to the prime minister's parliamentary office demanding caste-based quota to be replaced with reservation on financial grounds, the police said.