Invision/AP 1 / 12

One Direction star Harry Styles has bought a new $4 million bachelor pad in Beverly Hills, Calif.

RELATED: Taylor Swift buys Rhode Island mansion

The singer has snapped up a sprawling estate in the heart of one of Los Angeles' most celebrity-rich neighborhoods where locals include Demi Moore and Jon Voight.

Styles reportedly purchased his new California home last month. The mansion boasts five bedrooms, a swimming pool and multiple canyon views.

His new gated home was built in 1967 and renovated by Columbian architect Alejandro Ortiz, according to

RELATED: See inside Oprah Winfrey's mansion