 The influence of Hungary weakened after the Ottomans defeated Hunyadi's army in the second Battle of Kosovo in October 1448.With the support of boyars who preferred an alliance with the Commonwealth, Alexăndrel expelled Peter III from Moldavia and seized the throne in February 1449.He confirmed the privileges of the merchants of Brașov.