A supporter shouts slogans as Indian social activists Anna Hazare, background right, looks on during his hunger strike against corruption, in New Delhi, India, Thursday, April 7, 2011. (Manish Swarup/AP)

Hazare, who is a social activist, had vowed not to eat until the Jan Lokpal Bill, a law that would establish an ombudsman who would have the power to deal with corruption in public offices, was passed.

Within days, Hazare had inspired a movement of thousands of young followers, myriad Bollywood celebrities and cricketers, and more than 150 people claiming to join him on his fast.

Hazare’s fast took place in a year in which three major corruption scandals rocked the Indian government.

“It is a victory of the democracy,” human resources development minister Kapil Sibal said on Friday night of the accord that had been reached to pass the anti-corruption legislation.

PHOTOS of the last few days of Hazare’s fast:


A boy dressed as Mahama Gandhi (C) holds anti-corruction placards as thousands of people including school children, teachers, social workers and bank officials shout anti-corruption slogans in support of veteran Indian social activist, Anna Hazare during his 'fast unto death' against corruption in New Delhi on April 8, 2011. (RAVEENDRAN/AFP/GETTY IMAGES)


Indians shout slogans against corruption as they express their solidarity with social activist Anna Hazare in Ahmadabad, India, Thursday, April 7, 2011. (Ajit Solanki/AP)


India's yoga guru Swami Ramdev (L) speaks with social activist Swami Agnivesh as Anna Hazare (C) listens during a "fast unto death" campaign in New Delhi April 8, 2011. (B MATHUR/REUTERS)


A demonstrator wearing portraits of social activist Anna Hazare on his shirt carries an Indian national flag during a protest rally against corruption in Mumbai April 8, 2011. (VIVEK PRAKASH/REUTERS)


Social activist Anna Hazare rests near microphones of news channels during a "fast unto death" campaign in New Delhi April 8, 2011. (PARIVARTAN SHARMA/REUTERS)


Demonstrators waving Indian national flags and shouting slogans gather in front of the Gateway of India during protest rally against corruption in Mumbai April 8, 2011. (VIVEK PRAKASH/REUTERS)


Demonstrators light candles in front of the Gateway of India during a candle light vigil against corruption in Mumbai April 8, 2011. (VIVEK PRAKASH/REUTERS)