Before 1997, the primary U.S. legislation constraining aid to countries with poor human rights records was Section 502B of the Foreign Assistance Act, which prohibited security assistance to "any country the government of which engages in a consistent pattern of gross violations of internationally recognized human rights." This law was seen as too vague to be effective in cases where the U.S. government had an overriding interest. According to Senator Leahy, his law "makes it clear that when credible evidence of human rights violations exists, U.S.aid must stop. But, it provides the necessary flexibility to allow the U.S. to advance its foreign policy objectives in these countries."