Complex sentence: The library is a posthumous gift of Mary Elizabeth Hawley and was named after her maternal grandfather, a doctor in town from 1820 until his death in 1871.
Split into simpler sentences: The library is a posthumous gift of Mary Elizabeth Hawley. She named it for her maternal grandfather, a doctor in town from 1820 until his death in 1871.