From the Spanish capital city, possibly derived from Arabic 'majra' meaning 'water source.'
Like Madrid?
Swipe through thousands of names like it