On-premises retail licenses and off-premises wholesale licenses are apportioned through a quota system (see below) established by the Pennsylvania Liquor Code. Under the law, the PLCB may grant one retail license for every 3,000 inhabitants of a county and one wholesale license for every 30,000 inhabitants of a county (with a minimum of five wholesale licenses allowed per county). To prevent a municipality from being inundated by liquor licenses, the Pennsylvania Liquor Code also established a population-based municipal quota that limits the number of retail liquor licenses allowed in a municipality; the issuance or transfer of any additional licenses beyond that quota requires prior municipal approval.