It's important to note that not all Irish-Americans were discriminated against in the 19th century. The Protestant Scots-Irish had settled earlier and were well established in the New World by the mid-nineteenth century. They had already produced their own President, Andrew Jackson, in 1829. The Catholic Irish, on the other hand, arrived in huge numbers in the 1840's and suffered a wave of discrimination over the following two decades or so (I posted about this before, if anyone's interested).
What was the turning point for the Catholic Irish immigrants? I'd argue it was the Civil War, or more accurately the Reconstruction era. Irish labour became quite valuable in the economic boom that followed the Civil War. This had a major knock-on effect on the immigrant population, allowing them organize into unions, engage in politics in an effective way and - perhaps most importantly - send their children and grand-children to school. There was a huge expansion of the Catholic Parochial school system in the Reconstruction Era, with the result that by 1900 only 15% of Irish males continued to work as unskilled labourers. Education and organization ultimately reaped political dividends, with P.J. Kennedy (mentioned by the poster below) a good example of a successful Irish machine politician.
It was ultimately an economic revolution that helped the Irish-Americans, not a social one. These immigrants and their children found themselves well positioned during an economic boom-time, which in turn allowed them to access educational and political arenas that were previously closed to them. In effect, the Irish changed from an unwanted (and dangerous) economic burden on the established American settlers, to a valuable labour force - and with that the majority of anti-Irish discrimination ended.
As a follow-up, how bad was discrimination against the Irish? It seems like they were made fun of a lot and there were lots of negative stereotypes about Irish people, but even in the 19th and early 20th centuries it seems like Irish people were able to achieve some political power and wealth (totally anecdotal example would be JFK's grandfather P.J. Kennedy. Did they really have that far to go to achieve relative acceptance in the US?
Are there any examples of Irish people being systematically excluded from certain aspects of American society? Did they face unique challenges compared to other large immigrant groups (eastern Europeans, Italians, or even Mexicans in modern times)?