What is the connection between independence and Saint Patrick's Day?

The national holiday in many countries is their independence day. The national holiday in Ireland is St. Patrick's Day.