In 1246, he led Béla's royal campaign against Frederick II, Duke of Austria, who had attacked Hungary and claimed the western counties of Moson, Sopron and Vas County. He defended Sopron and Pozsony Castle. Later Roland's army was defeated by the Austrians in the Battle of the Leitha River on 15 June 1246, however Frederick was killed on the battlefield, resulting in the end of the conflict and interregnum in Austria. Following this, Roland was appointed Judge royal in 1247 and held the dignity possibly until 1248.