Géza was proclaimed king, but Solomon established himself in Moson and Pressburg (now Bratislava, Slovakia). During his brother's reign, Ladislaus administered all of their father's former duchy. He repelled Solomon's attack on Nyitra (present-day Nitra, Slovakia) in August or September 1074, but he could not seize Pressburg. Ladislaus was also his brother's main advisor. Legend says that Géza decided to build a church dedicated to the Holy Virgin in Vác after Ladislaus explained the significance of the wondrous appearance of a red deer at the place where the church would be erected: