LONDON (Reuters) - British singer Robbie Williams grabbed the top spot in the UK album charts on Sunday with his new release Swings Both Ways, the Official Charts Company said, saying he had made music history by doing so.

The release was the UK's 1000th number one album, it said, saying Williams, who has sold 55 million albums globally, was now tied with Elvis Presley as the male solo artist with the most official number one UK albums - 11.

Eminem hung on to second place in the album chart with The Marshall Mathers LP 2, holding off a new entry from 19-year-old singer/songwriter Jake Bugg whose new album Shangri La entered at number three.

In the singles chart, British singer Lily Allen took the top spot with her version of the Keane song Somewhere only we Know, which is featured in a department store Christmas advertising campaign.

It was her third number one UK single.

Allen also occupied the number 9 slot in the singles chart with her new track "Hard Out Here".