Honduras ended months of political turmoil as it swore in a new president Wednesday , turning the page on a thwarted quest by ousted leader Manuel Zelaya to be restored to power after a coup that drew international condemnation .