Former DOJ attorney sentenced to 10 years for attempted sex with minor