Shakya (Sanskrit: Śākya, Devanagari: शाक्य, Pāli: Sākya) was an ancient janapada (kingdom) of Iron Age India. In Buddhist texts, the Śākyas are mentioned as a Kshatriya clan. The Śākyas formed an independent kingdom at the foothills of the Himālayas. The Śākya capital was Kapilavastu (Pāli: Kapilavatthu), present day Nepal.
The most famous Shakya was Gautama Buddha, a member of the ruling Gautama clan of Lumbini, who is also known as Shakyamuni Buddha, "sage of the Shakyas".
The Puranas mention Shakya as a king of Ikshvaku dynasty, son of Sanjaya and father of Shuddhodana.
Read more about Shakya: History