Officials believe a woman who died in a car accident late last week had been posting to Facebook seconds before the fatal crash.

Investigators puzzling over the cause of the crash ruled out drugs and alcohol before learning the woman, 32-year-old Courtney Ann Sanford, of Clemmons, N.C., had been taking selfies and updating her Facebook profile immediately before the accident.

Just prior to the wreck Thursday morning, Sanford updated her status. "The happy song makes me HAPPY,” she wrote, likely a reference to the hit song of the same name.

"The Facebook text happened at 8:33 a.m. We got the call on the wreck at 8:34 a.m.," Lt. Chris Weisner of the High Point Police Department told WGHP. "In a matter of seconds, a life was over just so she could notify some friends that she was happy."

The police department's Lt. Charles Lanier added to The High Point Enterprise that "she was also taking pictures of herself while driving."

Authorities have used the accident to remind drivers not to drive while distracted. According to the National Conference of State Legislatures, texting while driving is illegal in North Carolina.