Is there a reason you posted this in the Komárom-Esztergom county thread? That is, do you know a town or village of origin for one of these people? The Kingdom of Hungary was a pretty large place, and neither Barath nor Haydu/Hajdu are rare names. The other detail that can help others help you is the ancestors' religion, especially for events before Oct. 1, 1895 (when civil registration began).