Ulrich IV, Count of Pfannberg

A consequence of this marriage was that when the Heunburg family died out in the male line in 1322, a significant portion of their possessions were inherited by the House of Pfannberg.

Ulrich's grandfather had been an energetic man, who had achieved the rank of Count for his family, and his father Henry had been a famous knight with leadership qualities.

He does not appear to have distinguished himself by his bravery and, unlike his ancestors, who had often been at war with the clergy, Ulrich IV was very generous towards the church and the monasteries, which obviously worsened his financial difficulties and drove him to mortgage almost all of his possessions.

The rebellion collapsed in March 1292, after Albert captured Bruck an der Mur and took the rebel leader Frederick of Stubenberg prisoner.

On 30 May 1292 at Greiffen, his father-in-law, Count Ulrich II of Heunberg, sold a manor named Rain in Rakkonik (this was most likely the manor now known as Rainhof in Raggane, north-east of Sankt Paul im Lavanttal) to abbot Conrad of the St. Paul's Abbey and promised he would plead with Ulrich IV to allow this sale, as Ulrich IV was still liege lord of this and many other possessions east of the river Lavant, for example Puhelarn manor in Unterpichling (which was later acquired by St. Paul's Abbey) and Dachberg, Mühldorf, Lindhof, Götzendorf and Hundsdorf, as well as the castles at Rabenstein, Loschental and Lavamünd.