Thousands of Iranians were arrested for protesting the outcome of the election .