In Pre-4th Century they were in Urals they slowly migrated till in 850-900 they slowly captured the northern part of the First Bulgarian Empire which is commonly known as "Carpathian Basin" but directly before that they were Transdanubia which is north of Crimea . http://upload.wikimedia.org/wikipedia/commons/7/73/Hungarian_migration.png this is a better explanation and http://upload.wikimedia.org/wikipedia/commons/1/14/Honfoglalas.gif Magyar being an old name of the Hungarians .
Thanks for everyone who helped!