O'Flaherty is a former American state legislator who served in the Massachusetts House of Representatives.
He was first elected in 1996 He resigned effective January 31, 2014 to take a position as chief legal counsel for Boston mayor Marty Walsh and the City of Boston.