A man accused of setting his friend on fire last Friday night in Urbana.
Police say Simon Pascual was waiting outside the victim's home with gasoline and a lighter.
The victim didn't see who threw gasoline on him, but police found Pascual after he sent a number of threatening text messages.
The two used to work together and were best friends.
He's being held on a half-million dollars bond.
Pascual admitted to the crime and told police his friend was having an affair with his wife. Pascual is charged with attempted murder and aggravated battery.