Ljubijankić was born in Bihać, Yugoslavia, the town in which he lived for most of his life.
In 1990 as Bosnia was preparing to secede from Yugoslavia, he was elected to the Bosnian parliament and became a leading member of the Bosniak-dominated Party of Democratic Action.