Edward Snowden's Potential Spy Leak Motivations

Why did the former NSA contractor leak information about Prism spying program?