Hanna Marin dates Sean Ackard, then Caleb Rivers. Their relationship weathers Caleb's hacker past, "A" threats, a forced separation (Season 4), reunion (Season 5), engagement (Season 7), and marriage (series finale).
Hacker ally to the Liars; leaves to protect Hanna, returns, they marry.
Hanna and Caleb's journey from uneasy allies to endgame couple exemplifies the show's core theme: love persists even in the darkest secrets.