Nursing to sleep transition

Anyone nurse their baby to sleep around the 1 year mark and then wean from breastfeeding? How did you get baby to sleep afterward?