Oldřich, a member of the Přemyslid dynasty, ruled as Duke of Bohemia from 1012 to 1033 and briefly again in 1034. His accession followed years of dynastic conflict and began a more stable phase of Bohemian rule. He was a son of Duke Boleslaus II and Emma of Mělník.
Oldřich and his brother Jaromír fled to the Bavarian court in 1001 amid conflict with their elder brother, Duke Boleslaus III. They returned after Boleslaus III was deposed, and Jaromír became duke in 1004. On April 12, 1012, Oldřich deposed and blinded Jaromír, then acknowledged the sovereignty of the German king and suppressed resistance by the Vršovci.
With his son Bretislaus, Oldřich sought to recover Moravia from Polish control. Bohemian forces, supported by Emperor Conrad II, drove the Poles from the eastern lands in 1029. Oldřich was later deposed and sent to Bavaria after failing to attend an imperial assembly at Merseburg. Pardoned the following year, he returned to Bohemia, again deposed and blinded Jaromír, and took power.
Oldřich died during a banquet on November 9, 1034. According to the account of Cosmas of Prague, he married Božena, daughter of Křesina, and they had a son, Bretislaus I, who became Duke of Bohemia in 1035.