Dexter Oliver surrendered to police, he is suspected of attempted murder and arson.

Photo: Courtesy SFPD

Dexter Oliver surrendered to police, he is suspected of attempted...

Image 2 of 3

A San Francisco police car is parked in front of a laundromat where an argument started, which resulted in a woman being set on fire Sunday, Jan. 6, 2013, in San Francisco. San Francisco police say a woman is hospitalized with what are being described as "life-threatening injuries" after someone poured a flammable liquid on her and set her on fire. (AP Photo/Ben Margot)

Photo: Ben Margot, Associated Press

A San Francisco police car is parked in front of a laundromat where...

Image 3 of 3

San Francisco police officers search for evidence and guard the home of a woman who was set on fire Sunday, Jan. 6, 2013, in San Francisco. San Francisco police say a woman is hospitalized with what are being described as "life-threatening injuries" after someone poured a flammable liquid on her and set her on fire. Police spokesman Officer Carlos Manfredi says officers were called to the city's Bayview District a little after noon by people who reported a woman screaming. When officers arrived they found a women suffering from what Manfredi described as "severe burns." The woman, believed to be in her 20s, was taken to a hospital where she is being treated at a burn center. Her name has not been released. Police did not immediately release any suspect information. (AP Photo/Ben Margot)

A man accused of setting a woman he was dating on fire was arrested Monday night in Oakland, authorities said.

Dexter Oliver, 22, surrendered peacefully to San Francisco police officers and U.S. marshals at a hotel near MacArthur Boulevard and Telegraph Avenue at about 9 p.m., police spokesman Sgt. Michael Andraychak said.

He will be booked into San Francisco County Jail on suspicion of attempted murder and arson, Andraychak said.

Oliver is accused of throwing a flammable liquid on a woman near Hollister Avenue and Jennings Street in San Francisco at about 12:15 p.m. Sunday.

Officers responding to reports of a woman screaming found the victim severely burned and rushed her to the burn unit of St. Francis Memorial Hospital with life-threatening injuries. She remained in the same condition late Monday, Andraychak said.

Oliver was at large for much of Monday. Police would not comment on what led to his capture.