The 36-day CJP-led agitation at the Jantar Mantar here ended on Saturday after the government accepted key demands of the protesters and Dharmendra Pradhan resigned as education minister.