Parties divided power along ethnic lines so that the President of the Presidency of the Socialist Republic of Bosnia and Herzegovina was a Bosniak, the president of the Parliament was a Serb and the prime minister a Croat.