State elections were held in all states and territories in Malaysia except Sarawak on 5 May 2013, alongside general elections. Although the Pakatan Rakyat alliance received over 50% of the vote across the 12 states and territories where elections took place, the Barisan Nasional won the most seats, emerging as the largest faction in all states and territories except Kelantan, Penang and Selangor.