They used Narcan to save two others who had overdosed.
RELATED: Would you administer Narcan? How SF supervisors hope you can help someone having an overdose
The sheriff's department recently started a program that allows for inmates to have access to medication.
Inmates have to watch an instructional video on how to administer it.
Narcan can be highly effective against an opioid overdose.