Jailed Venezuelan opposition leader Leopoldo Lopez has ended a 30-day hunger strike after authorities set a date for legislative elections.

Lopez's wife, Lilian Tintori, read a letter from Lopez at a press conference Tuesday in which the activist announced his decision.

Lopez and another imprisoned politician stopped eating in May, demanding that the government set a date for the elections. The opposition is favored to win the vote by a landslide amid mounting frustration with President Nicolas Maduro's management of the oil-dependent economy.

The National Electoral Council on Monday said balloting would be held Dec. 6, ending months of speculation by opponents that the contest would be canceled.