Updated

Germany's former president, Christian Wulff, has been acquitted over corruption allegations that prompted his resignation two years ago.

News agency dpa reported Wednesday that the state court in Hannover cleared Wulff of illegally accepting favors.

Wulff quit in February 2012 following allegations he received a favorable loan and hotel stays from friends when he was governor of the state of Lower Saxony before becoming president in 2010.

He was once a deputy leader of Chancellor Angela Merkel's conservative party and her choice for the largely ceremonial role of president.

The charges related specifically to some 720 euros ($990) in hotel and entertainment costs allegedly paid by German film producer David Groenewold for Wulff and his family during a visit to Oktoberfest in Munich in 2008. Both men denied corruption.