He received an apartment as his share of the inheritance.
Tips
grammar
分得 = 分 (to divide/distribute) + 得 (resultative complement indicating successful completion). It emphasizes that the division or allocation was completed and received. Compare with 分到 which focuses more on the destination.