He was Minister of Justice in 2015. He was vice-president of the Civic Platform political party in the 2016 to 2020 period, and leader of the parliamentary political group of Civic Coalition since 2019. 