query: What roles did Boleslaw II have in Polish Royalty?
answer: Bolesław II the Generous (Polish: Bolesław II Szczodry; c. 1042 – 2 or 3 April 1081 or 1082) was Duke of Poland from 1058 to 1076 and third King of Poland until 1079.