In 1536, Groningen accepted Emperor Charles V, the King of Spain and the Habsburg ruler of the other Netherlands as its ruler, thus ending the region's autonomy. The city was captured in the Siege of Groningen (1594) by the Dutch and English forces led by Maurice of Nassau. After the siege, the city and the province joined the Dutch Republic.