Since its foundation Koziegłowy belonged to Lesser Poland's Kraków Voivodeship, and in 1519 local nobleman named Krystyn IV (Lis coat of arms) sold the village with the castle to Archbishop of Kraków, Jan Konarski.
Koziegłowy has been part of Lesser Poland's administrative region since its establishment, and in 1519 a local nobleman named Krystyn IV sold the village and castle to Archbishop Jan Konarski.