Before the Shah dynasty united Nepal, only Kathmandu was known as Nepal or Nepal Mandala. After conquering all the small kingdoms of Nepal in the mid-eighteenth century, King Prithvi Narayan Shah moved his capital to Kathmandu from Gorkha and named the newly created empire, Nepal.