CREATE TABLE table_50241 ("State" TEXT, "Type" TEXT, "Name" TEXT, "Title" TEXT, "Royal house" TEXT)

What was the name when the state was wey?
SELECT "Name" FROM table_50241 WHERE "State" = 'wey'
SELECT "Name" FROM "table_50241" WHERE "State" = 'wey'