From the 10th century onwards , it became part of the Principality of Hungary ( later the Kingdom of Hungary ) .
Almost the whole area was part of Pozsony county ( the exception being three villages south of Bratislava which were part of Moson county ) .
From the 10th century onwards , it became part of the Principality of Hungary ( later the Kingdom of Hungary ) and almost the whole area was part of Pozsony county ( the exception being three villages south of Bratislava which were part of Moson county ) .