LONGVIEW - A Gregg County jailer suffered a heart attack shortly after helping an inmate with a medical emergency.

At approximately 6:07 p.m. Gregg County Sheriff's Office Jail staff responded to a medical emergency with an inmate housed at the Marvin A. Smith Criminal Justice Facility.

Jailer Robert E. Ransom, 62, suffered a heart attack while providing medical assistance to an inmate.

Both the inmate and Officer Ransom were transferred to Good Shepherd Medical Center in Longview.

Robert Ransom died Friday night at Good Shepherd Medical Center.

The inmate was treated, and later returned to jail.

Ransom was with the Gregg County Sheriff's office since 2005. Prior to his employment with Gregg County Sheriff's Office, Robert began his career in Law enforcement in 1980 as a Deputy Sheriff for the Porter County Sheriff's Office in Valparaiso, Indiana.

CBS19 will provide more information as it becomes available.