GAy marriage was legalized in pennsylvania on May 20,2014.A federal judge overturned the ban on gay marriage. the legalization law was signed in harrisburg . it connects to the founding ideal of opportunity because it gives homosexuals the opportunityto get married and be known as a married couple.