Neither the average Hindu nor the average Muslim was particularly happy during Mughal rule. They were subjects of the emperor and endured the same struggles—some more, some less. Ordinary people lived in huts, while the Badshahs, Rajas, and Maharajas resided in grand palaces. Their word was law; they could punish or spare whomever they pleased, even having people trampled under elephants if they wished.