A 40-year-old man died after collapsing from an apparent heart attack in the Fairfax County jail, where he had been taken after going on what police described as a violent rampage near his Baileys Crossroads home, authorities said.

Ronald Shields of 3527 Lacey Blvd. collapsed Sunday in a padded cell where he had been placed after being charged with assault in an early-morning incident during which five Fairfax County police officers struggled to restrain him, according to Officer Bill Coulter, a police spokesman.

Shields' mother, Harriet Shields, called police about 7 a.m. Sunday when her son began behaving violently, throwing objects around the house, she said yesterday.

When officers arrived, Ronald Shields ran out the back door of the house, and was found about 8 a.m. inside a nearby house where officers struggled to bring him under control, police said.

Shields collapsed after assaulting a deputy sheriff as he was being moved from a stretcher to the cell at the jail, according to Sheriff M. Wayne Huggins. A deputy's efforts to revive him failed, Huggins said, and Shields was declared dead at Access of Fairfax, a nearby emergency facility.

The Northern Virginia medical examiner's office said preliminary autopsy results indicate Shields apparently died of a heart attack.