By 1651, Ruzhyn was prospering. With a peace treaty signed between Russia, Ukraine and Poland in 1667, lands including Ruzhyn reverted to Polish control.
The prosperity of Ruzhyn by 1651 was followed by a shift in ownership due to a peace agreement between Russia, Ukraine, and Poland in 1667.