01Short answer
Mamdani was born in Kampala, Uganda, and moved to New York City with his family at age seven. The official Assembly biography records Kampala, New York public schools, Bronx Science, Bowdoin College and naturalisation as an American citizen in 2018.
He is also strongly associated with Astoria, Queens. That is where his Assembly district was based and where his politics around rent, buses, immigrants and public services became visible.
The simplest answer is that Mamdani was born in Uganda, raised in New York and built his political base in Queens.
02Why the answer gets searched
Mamdani's background crosses national, racial, religious and city identities. That makes search results messy: Uganda, India, South Asia, Queens, New York and Muslim identity all appear in public discussion.
The public record does not need to flatten those facts into one label. His governing record is judged through New York offices, budgets, appointments and policy delivery.
03Public record
The official biography says he graduated from the New York City public school system, attended Bronx High School of Science and received a degree in Africana Studies from Bowdoin College.
His Assembly work and mayoral campaign then placed Queens housing and transit at the centre of his public identity.