Man sentenced to seven years for attempted murder after hitting father with chair