In the meantime, in 1538, the Ottoman Empire invaded Moldavia. In 1541, another campaign in Hungary took Buda and Pest (which today together form the Hungarian capital Budapest) with a largely bloodless trick: after concluding peace talks with an agreement, troops stormed the open gates of Buda in the night. In retaliation for a failed Austrian counter-attack in 1542, the conquest of the western half of central Hungary was finished in the 1543 campaign that took both the most important royal ex-capital, Székesfehérvár, and the ex-seat of the cardinal, Esztergom. However, the army of 35–40,000 men was not enough for Suleiman to mount another attack on Vienna. A temporary truce was signed between the Habsburg and Ottoman Empires in 1547, which was soon disregarded by the Habsburgs.