A rokosz originally was a gathering of all the Polish szlachta (nobility), not merely of deputies, for a sejm. The term was introduced to the Polish language from Hungary, where analogous gatherings took place at a field called Rákos. With time, "rokosz" came to signify an armed, semi-legal rebellion by the szlachta of the Polish–Lithuanian Commonwealth against the king, in the name of defending threatened liberties. The nobles who gathered for a rokosz formed a "confederation".