SAN FRANCISCO — Bernard L. Shaw, who was Patty Hearst Shaw’s husband and Hearst Corp.’s vice president for corporate security, has died at the age of 68.

Shaw’s death Tuesday in Garrison, N.Y., was confirmed Wednesday in a statement by Hearst President and CEO Steven R. Swartz.

Shaw was born in San Francisco and was a city police officer for 15 years.

But he was perhaps better known for his relationship with William Randolph Hearst’s granddaughter. She made headlines in the 1970s for her kidnapping by a left-wing group and her later imprisonment for bank robbery.

The couple were married in 1979, after Patty Hearst’s release from a 22-month prison sentence.

Bernard Shaw worked at Hearst Corp. for three decades.

The San Francisco Chronicle reports (http://bit.ly/18Sw8ba ) he is survived by his wife, four children and one granddaughter.