 Gereb is known to have participated in the retaking of Jajce from the Ottoman Empire along with Matthias Corvinus in 1463.Later, as ban, he defeated the Ottomans in the Battle of Una in 1483.Gereb is known to have built a castle in the town of Jastrebarsko, now known as Erdödy Castle after the household Erdödy that later owned it.