Celtic languages

"Mac" means "son of" in Gaelic (Celtic) languages. "Grandson of" is "Ua" or "O," e.g. MacDowell, O'Malley.