In 2013, Nitish snapped ties with the BJP over the elevation of Narendra Modi as the prime ministerial candidate. He had been a BJP ally since 1996. Then, in 2015, he formed the Grand Alliance with RJD in Bihar. Then, in 2017, he ditched RJD and joined hands with the BJP to continue as the Chief Minister of Bihar. He contested the 2020 Bihar assembly elections in an alliance with the BJP. After the JD (U)-BJP alliance won, the terms of the pre-poll pact ensured that Nitish remained as the CM of Bihar even as he was the junior partner with 45 seats and BJP was the senior partner with 78 MLAs. Then, in 2022, he dumped the BJP and resurrected the Grand Alliance to form the government in the state with RJD, Congress, and Left parties. Now, a year and a half later, the alliance has fallen apart and JD (U) under Nitish has returned to the folds of NDA again.