In state chapter 7 bankruptcy remain on your credit?

A BK stays on your credit record for 10 years.