Dublin's rise from a Viking longphort to Ireland's capital owes much to a simple geographic fact: it sits at the lowest bridging point of the River Liffey—the first place upstream from the sea where the river narrows enough to be feasibly crossed.
The medieval city grew on both banks—northside and southside—linked by a succession of bridges (the current O'Connell Bridge occupies the historic crossing). The street pattern still radiates from this riverine core. Even today, the Liffey divides Dublin's postal codes (odd north, even south) and cultural identities.
Geography isn't destiny, but in Dublin's case, a narrow spot on a tidal river wrote the first chapter of a millennium of urban history.