After this leader signed the Treaty of Hadiach, he convened the Second Treaty of Pereyaslav which began "The Ruin" period in another country and which helped end the Khmelnytsky Rebellion.  
This ruler's siege of Riga was prolonged by his lack of a navy, an engagement in a war eventually resolved by the Treaty of Cardis.  His brother-in-law, who served as one of his chief ministers, was exiled following a revolt in Moscow that also resulted in the passing of the Sobornoye Ulozheniye law code.  After this leader signed the Treaty of Hadiach, he convened the Second Treaty of Pereyaslav which began "The Ruin" period in another country and which helped end the Khmelnytsky Rebellion.  The man who replaced his chief adviser Boris Morozov drew fire for altering the number of fingers used to cross oneself and made other changes to the align the Russian and ? Greek churches, Patriarch Nikon.  He also faced a significant revolt from the Cossack leader Stenka Razin.  The ruler who brought Ukraine under Russian control, he came to power after the death of Mikhail and was succeeded by Feodor III.  For 10 points, name this second notable Romanov tsar, whose reign saw the rise of the Old Believers, and who ruled from 1645 to 1676.
This ruler's siege of Riga was prolonged by his lack of a navy, an engagement in a war eventually resolved by the Treaty of Cardis.  
{Alexis} I [or {Alexei Mikhailovich} Romanov]