Prince Harry and Meghan Markle once lived in Tyler Perry's $18 million dollar mansion 1

Tyler Perry provided Prince Harry and Meghan with a place to stay last year, shortly after their very publicized move to California. Because the former duke and duchess were cut off financially from the royal family, Tyler Perry offered his $18 million dollar mansion in Beverly Hills.

More from KOCO

The property provided them with much-needed security, the property inside a gated community has a guard on duty 24/7. The 24,545 square foot Mediterranean-style mansion sits on a 22-acre lot with only 14 houses.

The home was built in 2012, eight years after Perry reportedly purchased the property in 2004 for $4.3 million, which is a pretty good deal considering the dwelling is currently worth $18 million, according to the county assessor.

The arrangement is rumored to have been finagled by Oprah. Perry was working in Atlanta — where he once owned a 35,000 square foot Versailles-inspired mansion that now belongs to Steve Harvey.

Harry and Meghan purchased a home in Santa Barbara last July, which, as we saw during their interview with Oprah, features a chicken coop