In the 17th and 18th centuries, Irish Catholics had been prohibited by the penal laws from purchasing or leasing land, from voting, from holding political office, from living in or within 5 miles of a corporate town, from obtaining education, from entering a profession, and from doing many other things that were necessary for a person to succeed and prosper in society.